2022-12-02 18:38:30 +00:00
|
|
|
name: Daily Deny Check
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deny:
|
|
|
|
name: Run cargo deny
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-15 18:30:18 +00:00
|
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
2022-12-02 18:38:30 +00:00
|
|
|
|
|
|
|
- name: Advisory Cache
|
2023-09-15 18:30:18 +00:00
|
|
|
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
|
2022-12-02 18:38:30 +00:00
|
|
|
with:
|
|
|
|
path: ~/.cargo/advisory-db
|
|
|
|
key: rust-advisory-db
|
|
|
|
|
|
|
|
- name: Install cargo
|
2023-09-15 18:30:18 +00:00
|
|
|
uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0
|
2023-09-15 18:36:47 +00:00
|
|
|
with:
|
2023-10-05 22:24:21 +00:00
|
|
|
toolchain: 1.73.0
|
2022-12-02 18:38:30 +00:00
|
|
|
|
|
|
|
- name: Install cargo deny
|
|
|
|
run: cargo install --locked cargo-deny
|
|
|
|
|
|
|
|
- name: Run cargo deny
|
|
|
|
run: cargo deny -L error --all-features check
|