File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,9 +7,39 @@ name: Clippy check
77jobs :
88 clippy :
99 runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ # All generated code should be running on stable now
13+ rust : [stable]
14+ target : [
15+ " thumbv8m.main-none-eabihf" ,
16+ # "thumbv8m.main-none-eabi",
17+ # "thumbv8m.base-none-eabi",
18+ # "thumbv7em-none-eabihf",
19+ # "thumbv7em-none-eabi",
20+ # "thumbv7m-none-eabi",
21+ # "thumbv6m-none-eabi",
22+ ]
23+
24+ include :
25+ # # Test MSRV
26+ # - rust: 1.85.0
27+
28+ # # Test nightly but don't fail
29+ - rust : nightly
30+ experimental : true
1031 steps :
1132 - uses : actions/checkout@v4
12- - uses : dtolnay/rust-toolchain@1.85
33+ - uses : dtolnay/rust-toolchain@master
1334 with :
14- components : clippy
15- - run : cargo clippy --all --features cortex-m/critical-section-single-core -- --deny warnings
35+ toolchain : ${{ matrix.rust }}
36+ - name : Run clippy
37+ # run: cargo clippy --all --features cortex-m/critical-section-single-core --target ${{matrix.target}} -- --deny warnings
38+ run : cargo clippy --all --features cortex-m/critical-section-single-core -- --deny warnings
39+
40+ # steps:
41+ # - uses: actions/checkout@v4
42+ # - uses: dtolnay/rust-toolchain@1.85
43+ # with:
44+ # components: clippy
45+ # - run: cargo clippy --all --features cortex-m/critical-section-single-core -- --deny warnings
You can’t perform that action at this time.
0 commit comments