From: Remi Gacogne Date: Thu, 12 Feb 2026 11:31:46 +0000 (+0100) Subject: Run the Rust deps audit check on the current branch for PRs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=137129b1249c8b421e206c23a3fd204b253d8827;p=thirdparty%2Fpdns.git Run the Rust deps audit check on the current branch for PRs Signed-off-by: Remi Gacogne --- diff --git a/.github/workflows/check-rust-dependencies-on-pr.yml b/.github/workflows/check-rust-dependencies-on-pr.yml new file mode 100644 index 0000000000..222ea90cc6 --- /dev/null +++ b/.github/workflows/check-rust-dependencies-on-pr.yml @@ -0,0 +1,33 @@ +name: Security audit of Rust dependencies +on: + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + +permissions: + contents: read + checks: write # to create checks + +jobs: + audit: + runs-on: ubuntu-latest + name: Rust dependencies check + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 1 + submodules: recursive + persist-credentials: false + + - name: Check recursor's Rust library dependencies (rec-rust-lib) + uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 + with: + token: ${{ secrets.GITHUB_TOKEN }} + working-directory: pdns/recursordist/rec-rust-lib/rust + + - name: Check DNSdist's Rust library dependencies + uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 + with: + token: ${{ secrets.GITHUB_TOKEN }} + working-directory: pdns/dnsdistdist/dnsdist-rust-lib/rust