Skip to content

Commit b0e6819

Browse files
committed
Move clippy from build to scan
1 parent a22eefc commit b0e6819

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/binaries.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,7 @@ jobs:
4242
run: |
4343
set -o pipefail
4444
cargo test --verbose 2>&1 | tee -a ${{ inputs.log-dir }}/test.log
45-
- name: Clippy
46-
if: ${{ success() || failure() }}
47-
run: |
48-
set -o pipefail
49-
rustup component add clippy
50-
cargo clippy --version
51-
cargo clippy --all-targets -- --deny warnings 2>&1 | tee -a ${{ inputs.log-dir }}/clippy.log
52-
- name: Upload test & clippy
45+
- name: Upload test
5346
if: ${{ success() || failure() }}
5447
uses: actions/upload-artifact@v4
5548
with:

.github/workflows/scans.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
rustc --version
2727
- name: Prepare log dir
2828
run: mkdir -p ${{ inputs.log-dir }}
29+
- name: Clippy
30+
if: ${{ success() || failure() }}
31+
run: |
32+
set -o pipefail
33+
rustup component add clippy
34+
cargo clippy --version
35+
cargo clippy --all-targets -- --deny warnings 2>&1 | tee -a ${{ inputs.log-dir }}/clippy-log
2936
- name: Audit Deny
3037
shell: bash
3138
if: ${{ success() || failure() }}

0 commit comments

Comments
 (0)