Skip to content

Fix test

Fix test #398

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t test-cargo-deny .
- name: Run 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 \
"" \
"" \
"" \
"false" \
--log-level warn \
--manifest-path test/Cargo.toml \
--all-features \
check \
""
- name: Run check w/rust-toolchain.toml
run: |
mv ./test/rt.toml ./rust-toolchain.toml
docker run -v $PWD:/test test-cargo-deny \
"" \
"" \
"" \
"" \
"false" \
--log-level warn \
--manifest-path test/Cargo.toml \
check \
""