Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: Update .github/workflows/audit.yaml in `artichoke/strftime-r… #74

Merged
merged 1 commit into from
Sep 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
rust:
name: Audit Rust Dependencies
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources

# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}

steps:
- name: Checkout repository
Expand Down Expand Up @@ -59,11 +67,8 @@ jobs:
cargo +stable generate-lockfile --verbose
fi
- name: Setup cargo-deny
run: curl -sL "https://github.com/EmbarkStudios/cargo-deny/releases/download/0.11.3/cargo-deny-0.11.3-x86_64-unknown-linux-musl.tar.gz" | sudo tar xvz -C /usr/local/bin/ --strip-components=1

- name: Show cargo-deny version
run: cargo-deny --version

- name: Run cargo-deny
run: cargo-deny --locked check --show-stats
- uses: EmbarkStudios/cargo-deny-action@v1
with:
arguments: --locked --all-features
command: check ${{ matrix.checks }}
command-arguments: --show-stats