This repository was archived by the owner on Nov 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 55# Note that this script runs as user 'vscode' during devcontainer setup.
66
77# Rust global tools, needed to run CI scripts
8- " $HOME /.cargo/bin/cargo" install cargo-
audit cargo- [email protected] cargo-llvm-cov cargo-deny
8+ " $HOME /.cargo/bin/cargo" install
[email protected] cargo-llvm-cov cargo-deny
99" $HOME /.cargo/bin/rustup" component add llvm-tools-preview
1010
1111# NPM global tools
Original file line number Diff line number Diff line change 1818 CARGO_TERM_COLOR : always
1919 SCCACHE_DIR : ${{github.workspace}}/sccache/
2020 SCCACHE_CACHE_SIZE : 1G
21- ACTIONS_CACHE_KEY_DATE : 2022-11-21-01
21+ ACTIONS_CACHE_KEY_DATE : 2022-11-21-02
2222 CI : true
2323 DOTNET_VERSION : 7.0.x
2424
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ cd src/agent
3737
3838rustc --version
3939cargo --version
40- cargo audit --version
40+ cargo deny --version
4141cargo clippy --version
4242cargo fmt --version
4343cargo license --version
@@ -48,9 +48,6 @@ if [ X${CARGO_INCREMENTAL} == X ]; then
4848fi
4949
5050cargo fmt -- --check
51- # RUSTSEC-2022-0048: xml-rs is unmaintained
52- # RUSTSEC-2021-0139: ansi_term is unmaintained
53- cargo audit --deny warnings --deny unmaintained --deny unsound --deny yanked --ignore RUSTSEC-2022-0048 --ignore RUSTSEC-2021-0139
5451cargo deny -L error check
5552cargo license -j > data/licenses.json
5653cargo build --release --locked
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ mkdir -p artifacts/proxy
1212cd src/proxy-manager
1313cargo fmt -- --check
1414cargo clippy --release --all-targets -- -D warnings
15- # RUSTSEC-2022-0048: xml-rs is unmaintained
16- # RUSTSEC-2021-0139: ansi_term is unmaintained
17- cargo audit --deny warnings --deny unmaintained --deny unsound --deny yanked --ignore RUSTSEC-2022-0048 --ignore RUSTSEC-2021-0139
1815cargo deny -L error check
1916cargo license -j > data/licenses.json
2017cargo build --release --locked
Original file line number Diff line number Diff line change 1111# sccache --start-server
1212# export RUSTC_WRAPPER=$(which sccache)
1313
14- cargo install cargo-audit cargo- llvm-cov cargo-deny
14+ cargo install cargo-llvm-cov cargo-deny
1515
1616if ! cargo license --help; then
1717
Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ allow = [
99 " Zlib" ,
1010]
1111
12+ [advisories ]
13+ vulnerability = " deny"
14+ unmaintained = " deny"
15+ unsound = " deny"
16+ yanked = " deny"
17+ ignore = [
18+ " RUSTSEC-2022-0048" , # xml-rs is unmaintained
19+ " RUSTSEC-2021-0139" , # ansi_term is unmaintained
20+ ]
21+
1222[bans ]
1323
1424# disallow rustls; we must use OpenSSL
You can’t perform that action at this time.
0 commit comments