Skip to content

Commit d076768

Browse files
committed
fix clippy
1 parent 790004f commit d076768

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/check-clippy.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,13 @@ jobs:
4444
target/
4545
key: ${{ github.job }}-${{ github.ref }}-${{ matrix.features }}-cargo-cache
4646

47-
- name: Run Clippy with "${{ matrix.features }}"
48-
run: cargo clippy --all-targets --locked ${{ matrix.features }}
49-
50-
51-
52-
47+
- name: Run Test
48+
run: |
49+
docker run --rm \
50+
-v "${GITHUB_WORKSPACE}:/workspace" \
51+
-v "${HOME}/.cargo:/root/.cargo" \
52+
-w /workspace \
53+
-e RUSTDOCFLAGS='-D warnings' \
54+
-e SKIP_WASM_BUILD=1 \
55+
paritytech/ci-unified:bullseye-1.74.0 \
56+
bash -c "cargo clippy --locked --quiet ${{ matrix.features }}"

0 commit comments

Comments
 (0)