Skip to content

Commit

Permalink
Merge pull request #74 from artichoke/terraform/update-file-.github-w…
Browse files Browse the repository at this point in the history
…orkflows-audit.yaml

chore: Update `.github/workflows/audit.yaml` in `artichoke/strftime-r…
  • Loading branch information
lopopolo authored Sep 5, 2022
2 parents 282f57c + 8303e61 commit 5a50e6f
Showing 1 changed file with 13 additions and 8 deletions.
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

0 comments on commit 5a50e6f

Please # to comment.