mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 17:45:10 +02:00
chore(ci): Switch from cargo-audit to cargo-deny
This commit is contained in:
@@ -29,14 +29,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
# Prevent sudden announcement of a new advisory from failing ci:
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
checks:
|
||||
- advisories
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: actions-rs/audit-check@35b7b53b1e25b55642157ac01b4adceb5b9ebef3 # v1
|
||||
- uses: EmbarkStudios/cargo-deny-action@3fd3802e88374d3fe9159b834c7714ec57d6c979 # v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
command: check ${{ matrix.checks }}
|
||||
rust-version: stable
|
||||
|
||||
cargo_deny:
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user