mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-27 14:59:21 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@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@v3
|
|
|
|
- name: Cache cargo bin
|
|
uses: actions/cache@v3
|
|
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
|