Skip to content

Commit 3429eaa

Browse files
committed
CI: run cargo test, cargo check and cargo audit
also remove the installation of the arm target and `flip-link` as the crate is no longer being built against an STM32.
1 parent 34e5bfd commit 3429eaa

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,23 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- name: Install target
18-
run: rustup target add thumbv7em-none-eabihf
19-
- name: Install flip-link
20-
run: cargo install flip-link
2117
- uses: actions/checkout@v3
2218
- uses: actions-rs/cargo@v1
2319
with:
2420
command: build
25-
# no tests at the moment as the crate currently targets the stm32f4xx-hal and thus can't run on x86
21+
- uses: actions-rs/cargo@v1
22+
with:
23+
command: check
24+
- uses: actions-rs/cargo@v1
25+
with:
26+
command: test
2627
- uses: actions-rs/cargo@v1
2728
with:
2829
command: fmt
2930
args: --all -- --check
3031
- uses: actions-rs/cargo@v1
3132
with:
3233
command: clippy
34+
- uses: actions-rs/cargo@v1
35+
with:
36+
command: audit

0 commit comments

Comments
 (0)