-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cargo-deny into a separate workflow on a schedule
- Loading branch information
1 parent
30863c0
commit 6e2aa6a
Showing
2 changed files
with
20 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: cargo deny checks | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'Cargo.lock' | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
cargo-deny: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
# https://github.com/EmbarkStudios/cargo-deny | ||
- name: Check rust licenses/bans/advisories/sources | ||
if: ${{ !cancelled() }} | ||
run: cargo deny check --hide-inclusion-graph |