diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a27e3c1..f4fbbdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,18 +1,29 @@ -name: test suite +name: Tests & Build on: [push, pull_request] jobs: test: name: cargo test runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo test + name: cargo audits + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: clippy,rustfmt - - run: cargo install cargo-audit && cargo install --locked cargo-vet - - run: cargo test --all-features + - run: cargo install cargo-audit + - run: cargo install --locked cargo-vet - run: cargo clippy -- -D warnings --no-deps - run: cargo vet --locked - run: cargo audit -D unsound -D yanked -D unmaintained --ignore "RUSTSEC-2020-0168" + name: cargo build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - run: cargo build \ No newline at end of file