Skip to content

Commit

Permalink
Merge bitcoindevkit#1646: ci: update audit.yml workflow to use action…
Browse files Browse the repository at this point in the history
…s-rust-lang/audit

66cf476 ci: update audit.yml workflow to use actions-rust-lang/audit (Steve Myers)

Pull request description:

  ### Description

  Update `audit.yml` workflow to use `actions-rust-lang/audit`.

  ### Notes to the reviewers

  The old [`actions-rs/audit-check`](https://github.com/actions-rs/audit-check) is no longer maintained.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

Top commit has no ACKs.

Tree-SHA512: f876d6289ad1a3c87cd1820d2efc931f1284ac4ad7fc3e0400f5fcf7274c41d27c1d3f3fe173e258b7115a724bf424e0b9240358fa79f84cef5144256628951c
  • Loading branch information
notmandatory committed Oct 17, 2024
2 parents 1f1361a + 66cf476 commit 7969898
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,26 @@ name: Audit
on:
push:
paths:
# Run if workflow changes
- '.github/workflows/audit.yml'
# Run on changed dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# Run if the configuration file changes
- '**/audit.toml'
# Rerun periodically to pick up new advisories
schedule:
- cron: '0 0 * * 0' # Once per week
- cron: '0 0 * * *' # Nightly
# Run manually
workflow_dispatch:

jobs:

security_audit:
runs-on: ubuntu-20.04
audit:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rust-lang/audit@v1
name: Audit Rust Dependencies

0 comments on commit 7969898

Please sign in to comment.