mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* Only run cargo deny on the main branch * Run cargo-deny once per day instead of per-commit * Still check licenses in the build-ci
25 lines
636 B
YAML
25 lines
636 B
YAML
name: "Audit Security Advisories"
|
|
|
|
on:
|
|
# Run once each day
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
cargo-deny:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 📥 Clone and checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: 🔒 Check crate security advisories for root workspace
|
|
uses: EmbarkStudios/cargo-deny-action@v2
|
|
with:
|
|
command: check advisories
|
|
|
|
- name: 🔒 Check crate security advisories for /libraries/rawkit
|
|
uses: EmbarkStudios/cargo-deny-action@v2
|
|
with:
|
|
command: check advisories
|
|
manifest-path: libraries/rawkit/Cargo.toml
|