From 9625ec4d92883eb5d210097ac69a801a055fff84 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Sun, 26 Nov 2023 11:39:33 +1100 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 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..81007fb --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: test suite +on: [push, pull_request] + +jobs: + test: + name: cargo test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: clippy,vet,audit,rustfmt + - run: cargo test --all-features + - run: cargo clippy -- -D warnings --no-deps + - run: cargo vet --locked + - run: cargo audit -D unsound -D yanked -D unmaintained --ignore "RUSTSEC-2020-0168" + - run: cargo build \ No newline at end of file