Fix CI
* 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:
co-authored by
Jake Shadle
parent
7800eb55ad
commit
25f8f6f154
+32
-10
@@ -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
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user