Skip to content

Add RUSTSEC advisory for git2 #4358

Add RUSTSEC advisory for git2

Add RUSTSEC advisory for git2 #4358

Workflow file for this run

name: Validate
on:
pull_request: {}
push:
branches: main
permissions: {}
jobs:
lint:
name: Lint advisories
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Cache cargo bin
id: admin-cache
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
with:
path: ~/.cargo/bin
key: rustsec-admin-7ed6bee1571768e528a6631400d3b51f37463b29
- name: Install rustsec-admin
if: steps.admin-cache.outputs.cache-hit != 'true'
run: cargo install --git https://github.com/rustsec/rustsec rustsec-admin --rev 7ed6bee1571768e528a6631400d3b51f37463b29
- name: Lint advisories
run: rustsec-admin lint --skip-namecheck rustdecimal,vec-const