Skip to content

Bug 1933679 - Docs for collection-enabled mode #1679

Bug 1933679 - Docs for collection-enabled mode

Bug 1933679 - Docs for collection-enabled mode #1679

Workflow file for this run

name: cargo-vet
on:
pull_request:
push:
branches:
main
jobs:
cargo-vet:
name: Vet Dependencies
runs-on: ubuntu-latest
env:
CARGO_VET_VERSION: 0.9.0
steps:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update stable && rustup default stable
- uses: actions/cache@v2
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: |
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} cargo-vet
- name: Invoke cargo-vet
run: cargo vet --locked