Skip to content

Commit 3d539c1

Browse files
Fix clippy, doc, ang geiger jobs
1 parent 1b95941 commit 3d539c1

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ jobs:
8181
runs-on: self-hosted
8282
steps:
8383
- uses: actions/checkout@v3
84-
- run: make clippy
84+
- run: make && make clippy
8585

8686
Doc:
8787
needs: qemu_vector_tftp
8888
runs-on: self-hosted
8989
steps:
9090
- uses: actions/checkout@v3
91-
- run: make doc
91+
- run: make && make doc
9292
- run: tar -zcvf doc.tar.gz target/riscv64gc-unknown-none-elf/doc/
9393
- uses: actions/upload-artifact@v3
9494
with:
@@ -101,5 +101,5 @@ jobs:
101101
steps:
102102
- uses: actions/checkout@v3
103103
- run: |
104-
make geiger || true
104+
make && make geiger || true
105105
cat .github/workflows/geiger.md >> $GITHUB_STEP_SUMMARY

.github/workflows/pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ jobs:
8181
runs-on: self-hosted
8282
steps:
8383
- uses: actions/checkout@v3
84-
- run: make clippy
84+
- run: make && make clippy
8585

8686
Doc:
8787
needs: qemu_vector_tftp
8888
runs-on: self-hosted
8989
steps:
9090
- uses: actions/checkout@v3
91-
- run: make doc
91+
- run: make && make doc
9292
- run: tar -zcvf doc.tar.gz target/riscv64gc-unknown-none-elf/doc/
9393
- uses: actions/upload-artifact@v3
9494
with:
@@ -101,5 +101,5 @@ jobs:
101101
steps:
102102
- uses: actions/checkout@v3
103103
- run: |
104-
make geiger || true
104+
make && make geiger || true
105105
cat .github/workflows/geiger.md >> $GITHUB_STEP_SUMMARY

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//! `kernel_init()`.
88
99
#![allow(clippy::upper_case_acronyms)]
10+
#![allow(clippy::needless_range_loop)]
1011
#![feature(naked_functions, asm_const, type_ascription)]
1112
#![feature(panic_info_message)]
1213
#![feature(trait_alias)]

0 commit comments

Comments
 (0)