Edit github workflow to run audit on latest stable only

cargo-audit now has an MSRV of 1.74 > ours. We only need to run audit on
at least one toolchain, anyhow.
This commit is contained in:
Edward Wang 2024-08-16 13:21:20 -07:00
parent b0bd0fb0c9
commit 90df9b0e18

View file

@ -50,4 +50,4 @@ jobs:
- name: Run cargo audit - name: Run cargo audit
run: | run: |
[[ ${{ matrix.toolchain }} == nightly ]] || (cargo install cargo-audit && cargo audit) [[ ${{ matrix.toolchain }} != 1.80.0 ]] || (cargo install cargo-audit && cargo audit)