File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v4
15- if : github.event_name == 'pull_request_target'
16- with :
17- ref : refs/pull/${{ github.event.number }}/head
18- - uses : actions/checkout@v4
19- if : github.event_name != 'pull_request_target'
2015 - uses : dtolnay/rust-toolchain@stable
2116 with :
2217 components : clippy
23- - uses : actions-rs/clippy-check@v1
24- with :
25- token : ${{ secrets.GITHUB_TOKEN }}
26- args : --all --features cortex-m/critical-section-single-core
18+ - run : cargo clippy --all --features cortex-m/critical-section-single-core -- --deny warnings
Original file line number Diff line number Diff line change 1717 - uses : dtolnay/rust-toolchain@stable
1818 with :
1919 components : rustfmt
20- - uses : actions-rs/cargo@v1
21- with :
22- command : fmt
23- args : --all -- --check
20+ - run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments