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 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- 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'
20
15
- uses : dtolnay/rust-toolchain@stable
21
16
with :
22
17
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 17
17
- uses : dtolnay/rust-toolchain@stable
18
18
with :
19
19
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