Skip to content

Commit

Permalink
Subject: add audit to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
k5924 committed Apr 13, 2024
1 parent 542e625 commit 18eb658
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

- name: Set up Rust
uses: actions/checkout@v3
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
- name: Audit
run: cargo audit

0 comments on commit 18eb658

Please sign in to comment.