* fix(ci): fix that not all arguments were provided to the docker call

- I would guess at some point it ran out of sync with newly added parameters
- now the tests should start working again on ci
- likely they will fail for deprecation reasons of config keys that got removed

* Fixup

* Remove check

---------

Co-authored-by: Jake Shadle <[email protected]>
This commit is contained in:
Sven Kanoldt
2025-03-03 16:15:41 +01:00
committed by GitHub
co-authored by Jake Shadle
parent 7800eb55ad
commit 25f8f6f154
2 changed files with 32 additions and 12 deletions
+32 -10
View File
@@ -11,17 +11,39 @@ jobs:
run: docker build -t test-cargo-deny .
- name: Run list
run: docker run -v ${PWD}/test:/test test-cargo-deny "" "" --manifest-path test/Cargo.toml list
run: |
docker run -v $PWD/test:/test test-cargo-deny \
"" \
"" \
"" \
"" \
"false" \
--log-level warn \
--manifest-path test/Cargo.toml \
"" \
list \
""
- name: Run check
run: docker run -v ${PWD}/test:/test test-cargo-deny 1.70.0 "" --manifest-path test/Cargo.toml --all-features check
run: |
docker run -v $PWD/test:/test test-cargo-deny \
1.70.0 \
"" \
"" \
"" \
"false" \
--log-level warn \
--manifest-path test/Cargo.toml \
--all-features \
check \
""
# Ensures the action in the PR still works
test:
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@prep-release # change branch name to PR branch if you are changing it
# with:
# manifest-path: test/Cargo.toml
# test:
# runs-on: ubuntu-22.04
# if: github.event_name == 'pull_request'
# steps:
# - uses: actions/checkout@v4
# - uses: EmbarkStudios/cargo-deny-action@prep-release # change branch name to PR branch if you are changing it
# # with:
# # manifest-path: test/Cargo.toml
-2
View File
@@ -18,8 +18,6 @@ skip-tree = [
]
[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "neither"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.92
allow = [