Update reported issues in multiple packages #2840
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
with: | |
path: ~/.cargo/bin | |
key: rustsec-admin-v0.8.6 | |
- name: Install rustsec-admin | |
run: | | |
VERSION="0.8.6" | |
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 |