Skip to content

feat(cargo-lock): support lockfile v4 #1609

feat(cargo-lock): support lockfile v4

feat(cargo-lock): support lockfile v4 #1609

Workflow file for this run

name: rustsec
on:
pull_request:
paths:
- ".github/workflows/rustsec.yml"
- "cargo-lock/**"
- "cvss/**"
- "platforms/**"
- "rustsec/**"
- "Cargo.*"
push:
branches: main
defaults:
run:
working-directory: rustsec
env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.73.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- uses: Swatinem/rust-cache@v2
- run: cargo check
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.73.0 # MSRV
override: true
profile: minimal
- uses: Swatinem/rust-cache@v2
- run: cargo doc --all-features