From 16c092d5e0d2df78119fe98bf3a1eb82d3b9c0f1 Mon Sep 17 00:00:00 2001 From: adam mcdaniel Date: Wed, 14 Jun 2023 00:11:59 -0400 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 00000000..31000a27 --- /dev/null +++ b/.github/workflows/cargo-test.yml @@ -0,0 +1,22 @@ +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: Run tests + run: cargo test --verbose