Skip to content

Commit d9de096

Browse files
committed
fix: 修正 github action
Signed-off-by: YdrMaster <ydrml@hotmail.com>
1 parent 1b9bd3c commit d9de096

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@ jobs:
4141
version: latest
4242

4343
- name: Run rust-clippy
44-
run:
45-
cargo clippy
46-
--target riscv64imac-unknown-none-elf
47-
--package fast-trap
48-
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
44+
run: |
45+
cargo clippy -p fast-trap --target riscv64imac-unknown-none-elf --features riscv-m --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
46+
cargo clippy -p fast-trap --target riscv64imac-unknown-none-elf --features riscv-s --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
4947
continue-on-error: true
5048

5149
- name: Upload analysis results to GitHub

0 commit comments

Comments
 (0)