From 6aa59ff83cbd8bdb736329e0f6eb40645083b2b7 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Tue, 19 Oct 2021 10:19:23 +0100 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e803590 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Run tests + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: Swatinem/rust-cache@v1 + - name: Run tests + run: cargo test