diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index d947bc1..df9f423 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -8,12 +8,19 @@ on: jobs: audit: - name: Cargo Audit runs-on: ubuntu-latest + steps: - name: Checkout sources - uses: actions/checkout@v1 + uses: actions/checkout@v4 + - name: Run cargo audit - uses: actions-rs/audit-check@v1 + uses: rustsec/audit-check@v1.4.1 with: token: ${{ secrets.GITHUB_TOKEN }} + + permissions: + issues: write + issues-reason: to create issues + checks: write + checks-reason: to create check