From 80bce24b6f21309f51650dd937e5631c6286e57f Mon Sep 17 00:00:00 2001 From: TotalKrill Date: Fri, 20 Sep 2024 20:46:22 +0200 Subject: [PATCH] try build the library on PRs (#20) * Create rust.yml * Update rust.yml --- .github/workflows/rust.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..abd4b7b --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,21 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose +