Skip to content

Commit 6b76a0e

Browse files
authored
ci: update deny action to v2 (#627)
1 parent 33166c8 commit 6b76a0e

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
- uses: dtolnay/[email protected]
6060
- name: Remove the example crates to exclude effects to dependencies from them
6161
run: rm -r ./examples/* && cargo new --lib --edition 2021 examples/dummy
62+
# we could probably replace all these with the cargo MSRV resolver ...
6263
- run: cargo update -p tokio --precise 1.38.1
6364
- run: cargo update -p tokio-util --precise 0.7.11
6465
- run: cargo update -p once_cell --precise 1.20.3
@@ -67,6 +68,7 @@ jobs:
6768
- run: cargo update -p tracing-core --precise 0.1.33
6869
- run: cargo update -p async-compression --precise 0.4.23
6970
- run: cargo update -p flate2 --precise 1.0.35
71+
- run: cargo update -p itoa --precise 1.0.15
7072
- run: cargo check -p tower-http --all-features
7173

7274
style:
@@ -90,7 +92,7 @@ jobs:
9092
- bans licenses sources
9193
steps:
9294
- uses: actions/checkout@v5
93-
- uses: EmbarkStudios/cargo-deny-action@v1
95+
- uses: EmbarkStudios/cargo-deny-action@v2
9496
with:
9597
manifest-path: tower-http/Cargo.toml
9698
command: check ${{ matrix.checks }}

deny.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[advisories]
2-
vulnerability = "deny"
3-
unmaintained = "warn"
4-
notice = "warn"
2+
unmaintained = "none"
53
ignore = []
64

75
[licenses]
8-
unlicensed = "deny"
9-
allow = []
10-
deny = []
11-
copyleft = "warn"
12-
allow-osi-fsf-free = "either"
6+
allow = [
7+
"MIT",
8+
"Apache-2.0",
9+
"BSD-3-Clause",
10+
"Unicode-3.0",
11+
]
1312
confidence-threshold = 0.8
1413
exceptions = [
1514
]

0 commit comments

Comments
 (0)