From 76f2576401743f3413558a5824633aa7afc6c859 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Sun, 2 Apr 2023 14:41:08 -0700 Subject: [PATCH] ci: nodejs12 is deprecated move audit-check to the one maintained by `rustsec` to stand away from nodejs 12. See https://github.com/actions-rs/audit-check/issues/227 --- .github/workflows/security-audit.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index acca92ff2..1851f8055 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -1,10 +1,14 @@ name: Security Audit on: pull_request: - paths: Cargo.lock + paths: + - "Cargo.lock" + - ".github/workflows/security-audit.yml" push: branches: master - paths: Cargo.lock + paths: + - "Cargo.lock" + - ".github/workflows/security-audit.yml" schedule: - cron: "0 0 * * *" @@ -21,7 +25,7 @@ jobs: with: path: ~/.cargo/bin key: ${{ runner.os }}-cargo-audit-v0.15.2 - - uses: actions-rs/audit-check@v1 + - uses: rustsec/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }}