Enable cargo-vet (#4444)
* Initialize cargo-vet on wasmtime. * Add cargo-vet to CI. * Add README.
This commit is contained in:
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@@ -45,6 +45,25 @@ jobs:
|
|||||||
echo `pwd` >> $GITHUB_PATH
|
echo `pwd` >> $GITHUB_PATH
|
||||||
- run: cargo deny check bans licenses
|
- run: cargo deny check bans licenses
|
||||||
|
|
||||||
|
# Ensure dependencies are vetted. See https://mozilla.github.io/cargo-vet/
|
||||||
|
cargo_vet:
|
||||||
|
name: Cargo vet
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
CARGO_VET_VERSION: 0.2.0
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- uses: ./.github/actions/install-rust
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ${{ runner.tool_cache }}/cargo-vet
|
||||||
|
key: cargo-vet-bin-${{ env.CARGO_VET_VERSION }}
|
||||||
|
- run: echo "${{ runner.tool_cache }}/cargo-vet/bin" >> $GITHUB_PATH
|
||||||
|
- run: cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} cargo-vet
|
||||||
|
- run: cargo vet --locked
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
name: Doc build
|
name: Doc build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
7
supply-chain/README
Normal file
7
supply-chain/README
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
This directory contains the state for cargo-vet, a tool to help projects ensure
|
||||||
|
that third-party Rust dependencies have been audited by a trusted entity.
|
||||||
|
|
||||||
|
More about the tool can be found here: https://mozilla.github.io/cargo-vet/
|
||||||
|
|
||||||
|
The audits.toml file may be imported by other projects, and therefore should be
|
||||||
|
handled with care. Ask for help if you're not sure.
|
||||||
5
supply-chain/audits.toml
Normal file
5
supply-chain/audits.toml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
# cargo-vet audits file
|
||||||
|
|
||||||
|
[audits]
|
||||||
|
|
||||||
1297
supply-chain/config.toml
Normal file
1297
supply-chain/config.toml
Normal file
File diff suppressed because it is too large
Load Diff
5
supply-chain/imports.lock
Normal file
5
supply-chain/imports.lock
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
# cargo-vet imports lock
|
||||||
|
|
||||||
|
[audits]
|
||||||
|
|
||||||
Reference in New Issue
Block a user