forked from private-attribution/ipa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use the audit-check github action for cargo update. (It seems the ubuntu 24.04 runner image no longer includes cargo audit.) * Include rust version in cache key.
- Loading branch information
1 parent
a649118
commit 67c7242
Showing
2 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,18 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: cargo audit | ||
run: | | ||
cargo audit | ||
- uses: dtolnay/rust-toolchain@stable | ||
id: rust-toolchain | ||
|
||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
key: ${{ runner.os }}-${{ steps.rust-toolchain.outputs.cachekey }}-audit | ||
|
||
- uses: rustsec/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters