Skip to content

Add non-breaking Dependabot group to NPM package (#810) #1081

Add non-breaking Dependabot group to NPM package (#810)

Add non-breaking Dependabot group to NPM package (#810) #1081

Workflow file for this run

name: Cargo vet dependencies
on:
push:
branches:
- main
pull_request:
jobs:
cargo-vet:
name: cargo_vet
runs-on: ubuntu-latest
env:
CARGO_VET_VERSION: 0.9.0
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable && rustup default stable
- uses: actions/cache@v4
with:
path: ${{ runner.tool_cache }}/cargo-vet
key: cargo-vet-bin-${{ env.CARGO_VET_VERSION }}
- name: Add the tool cache directory to the search path
run: echo "${{ runner.tool_cache }}/cargo-vet/bin" >> $GITHUB_PATH
- name: Ensure that the tool cache is populated with the cargo-vet binary
run: cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} cargo-vet
- name: Invoke cargo-vet
run: cargo vet --locked