Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim committed Nov 26, 2023
1 parent e78a713 commit 8760796
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8760796

Please sign in to comment.