Skip to content

Commit 9429ed5

Browse files
committed
CI: remove remaining actions-rs deps
1 parent 316b287 commit 9429ed5

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,7 @@ jobs:
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

.github/workflows/rustfmt.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,4 @@ jobs:
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

0 commit comments

Comments
 (0)