Skip to content

Commit 1522bc1

Browse files
committed
update ci
removes clippy_check in favour of running clippy directly
1 parent dcbfcb9 commit 1522bc1

File tree

5 files changed

+10
-49
lines changed

5 files changed

+10
-49
lines changed

.github/bors.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ status = [
77
"build (stable)",
88
"test",
99
"test-strict",
10-
"clippy_check",
1110
]

.github/workflows/ci.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,42 +21,30 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v3
2323
- name: Install Rust
24-
uses: actions-rs/toolchain@v1
24+
uses: dtolnay/rust-toolchain@master
2525
with:
2626
toolchain: ${{ matrix.rust }}
27-
profile: minimal
28-
override: true
29-
- uses: actions-rs/cargo@v1
30-
with:
31-
command: check
27+
components: clippy
28+
- run: cargo clippy
3229

3330
test:
3431
runs-on: ubuntu-latest
3532
steps:
3633
- name: Checkout repository
3734
uses: actions/checkout@v3
3835
- name: Install Rust
39-
uses: actions-rs/toolchain@v1
36+
uses: dtolnay/rust-toolchain@master
4037
with:
4138
toolchain: stable
42-
profile: minimal
43-
override: true
44-
- uses: actions-rs/cargo@v1
45-
with:
46-
command: test
39+
- run: cargo test
4740

4841
test-strict:
4942
runs-on: ubuntu-latest
5043
steps:
5144
- name: Checkout repository
5245
uses: actions/checkout@v3
5346
- name: Install Rust
54-
uses: actions-rs/toolchain@v1
47+
uses: dtolnay/rust-toolchain@master
5548
with:
5649
toolchain: stable
57-
profile: minimal
58-
override: true
59-
- uses: actions-rs/cargo@v1
60-
with:
61-
command: test
62-
args: --all-features
50+
- run: cargo test --all-features

.github/workflows/clippy.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/rustfmt.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- uses: actions-rs/toolchain@v1
14+
- uses: dtolnay/rust-toolchain@master
1515
with:
16-
profile: minimal
1716
toolchain: stable
18-
override: true
1917
components: rustfmt
20-
- uses: actions-rs/cargo@v1
21-
with:
22-
command: fmt
23-
args: --all -- --check
18+
- run: cargo fmt --all -- --check

cmsis-svd

Submodule cmsis-svd updated from e5db238 to 9c416c5

0 commit comments

Comments
 (0)