mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-27 06:29:31 +01:00
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
611 B
YAML
30 lines
611 B
YAML
name: Validate
|
|
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches: main
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint advisories
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Cache cargo bin
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.cargo/bin
|
|
key: rustsec-admin-v0.8.8
|
|
|
|
- name: Install rustsec-admin
|
|
run: |
|
|
VERSION="0.8.8"
|
|
if ! ( rustsec-admin --version | grep -q "$VERSION" ); then
|
|
cargo install rustsec-admin --force --vers "$VERSION"
|
|
fi
|
|
|
|
- name: Lint advisories
|
|
run: rustsec-admin lint --skip-namecheck rustdecimal
|