A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Update the `cargo audit` cron CI job (#12586)
Alex Crichton00b8810fa075
diff --git a/.github/workflows/cargo-audit.yml b/.github/workflows/cargo-audit.ymlindex 366dbf8bfd..cc03ff43d6 100644--- a/.github/workflows/cargo-audit.yml+++ b/.github/workflows/cargo-audit.yml@@ -4,13 +4,21 @@ on:- cron: '0 0 * * *'jobs:security_audit:- if: github.repository == 'bytecodealliance/wasmtime'runs-on: ubuntu-latest+ env:+ CARGO_AUDIT_VERSION: 0.22.1steps:- uses: actions/checkout@v4with:submodules: true- - uses: rustsec/[email protected]+ - uses: actions/cache@v4+ with:+ path: ${{ runner.tool_cache }}/cargo-audit+ key: cargo-audit-${{ env.CARGO_AUDIT_VERSION }}+ - run: |+ echo "${{ runner.tool_cache }}/cargo-audit/bin" >> $GITHUB_PATH+ cargo install --root ${{ runner.tool_cache }}/cargo-audit --version ${{ env.CARGO_AUDIT_VERSION }} cargo-audit --locked+ - uses: rustsec/audit-check@v2with:token: ${{ secrets.GITHUB_TOKEN }}# This seems to hit rate limits about 50% of the time, unclear why, but