-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |