From beb908b6d5e1420d8fe9fb7dda661f0a2b642395 Mon Sep 17 00:00:00 2001 From: Armin Becher Date: Wed, 17 Aug 2022 21:41:07 +0200 Subject: [PATCH] Add github action --- .github/workflows/rust.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..2504a61 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,20 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run test + run: cargo test --verbose + - name: Run test release + run: cargo test --verbose --release