From a62ad68e9a213a25bff350535715b2d344df18d9 Mon Sep 17 00:00:00 2001 From: eadf Date: Tue, 31 Oct 2023 13:14:04 +0100 Subject: [PATCH] Create rust_test.yml --- .github/workflows/rust_test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/rust_test.yml diff --git a/.github/workflows/rust_test.yml b/.github/workflows/rust_test.yml new file mode 100644 index 0000000..fdb9367 --- /dev/null +++ b/.github/workflows/rust_test.yml @@ -0,0 +1,24 @@ +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@v3 + - name: Build + run: cargo build --verbose + - name: Clippy + run: cargo clippy --verbose + - name: Run tests + run: cargo test --verbose