From f54514b2ab60bea53127a27a247fb2ec1b09b8b0 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Sun, 1 Oct 2023 14:45:28 +0000 Subject: [PATCH] Create cargo-test.yml --- .github/workflows/cargo-test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/cargo-test.yml diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml new file mode 100644 index 0000000..a69c7e3 --- /dev/null +++ b/.github/workflows/cargo-test.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "dev" ] + pull_request: + branches: [ "dev" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose