Files
advisory-db/.github/workflows/validate.yml
pinkforest(she/her) d3eccc4072 Remove yanked 2 (#1364)
* Remove yanked 2

Signed-off-by: pinkforest <36498018+pinkforest@users.noreply.github.com>

* Test cache

* Cache back on

* Bump audit cache

Signed-off-by: pinkforest <36498018+pinkforest@users.noreply.github.com>

Signed-off-by: pinkforest <36498018+pinkforest@users.noreply.github.com>
2022-08-16 12:38:08 +10:00

29 lines
566 B
YAML

name: Validate
on:
pull_request: {}
push:
branches: main
jobs:
lint:
name: Lint advisories
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Cache cargo bin
uses: actions/cache@v1
with:
path: ~/.cargo/bin
key: rustsec-admin-v0.8.1p
- name: Install rustsec-admin
run: |
if [ ! -f $HOME/.cargo/bin/rustsec-admin ]; then
cargo install rustsec-admin --vers 0.8.1
fi
- name: Lint advisories
run: rustsec-admin lint --skip-namecheck rustdecimal