mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-27 23:08:06 +01:00
* 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>
29 lines
566 B
YAML
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
|