mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
ea7c281a47
* Move to dtolnay/toolchain * Correct dtolnay/toolchain to rust-roolchain * Pass toolchain by argument instead of revision Introduces malleability by referring to HEAD of dtolnay, yet GHA errored on the prior syntax.
27 lines
558 B
YAML
27 lines
558 B
YAML
name: Daily Deny Check
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
deny:
|
|
name: Run cargo deny
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Advisory Cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.cargo/advisory-db
|
|
key: rust-advisory-db
|
|
|
|
- name: Install cargo
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
- name: Install cargo deny
|
|
run: cargo install --locked cargo-deny
|
|
|
|
- name: Run cargo deny
|
|
run: cargo deny -L error --all-features check
|