Skip to content

Commit

Permalink
Merge pull request #5 from zcash/ci-updates
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
str4d authored Jul 19, 2024
2 parents 7d49740 + 6d1812c commit a046fac
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/aggregate-audits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,15 @@ jobs:
with:
ref: ${{ github.head_ref }}

- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
id: toolchain
- run: rustup override set ${{steps.toolchain.outputs.name}}

- name: Install cargo-vet
uses: actions-rs/cargo@v1
with:
command: install
args: --git https://github.com/mozilla/cargo-vet.git cargo-vet
run: cargo install cargo-vet --version ~0.9

- name: Aggregate audits
uses: actions-rs/cargo@v1
with:
command: vet
args: aggregate --output-file supply-chain/audits.toml supply-chain/sources.txt
run: cargo vet aggregate --output-file supply-chain/audits.toml supply-chain/sources.txt

- name: Commit and push aggregated audits
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down

0 comments on commit a046fac

Please sign in to comment.