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