Pass ---locked to cargo install

This commit is contained in:
Oliver Hamlet
2025-10-01 19:57:54 +01:00
parent b9a91374f9
commit f2b27e629f
+1 -1
View File
@@ -50,7 +50,7 @@ jobs:
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
run: cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} --locked cargo-vet
- name: Invoke cargo-vet
run: cargo vet --locked