Skip to content

Commit e8bd989

Browse files
committed
Replace unmaintained actions-rs/cargo action with separate problem matcher
Also: Run `cargo check` with `--all-targets --all`.
1 parent 2ca6ebd commit e8bd989

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18+
- uses: r7kamura/rust-problem-matchers@v1.1.0
1819
- name: "Run `cargo check`"
19-
uses: actions-rs/cargo@v1
20-
with:
21-
command: check
20+
run: cargo check --all-targets --all
2221

2322
test:
2423
name: Test
@@ -53,34 +52,24 @@ jobs:
5352
- name: "Print QEMU Version"
5453
run: qemu-system-x86_64 --version
5554

55+
- uses: r7kamura/rust-problem-matchers@v1.1.0
5656
- name: Run api tests
57-
uses: actions-rs/cargo@v1
58-
with:
59-
command: test
60-
args: -p bootloader_api
61-
57+
run: cargo test -p bootloader_api
6258
- name: Run integration tests
63-
uses: actions-rs/cargo@v1
64-
with:
65-
command: test
59+
run: cargo test
6660

6761
fmt:
6862
name: Check Formatting
6963
runs-on: ubuntu-latest
7064
steps:
7165
- uses: actions/checkout@v2
72-
- name: Run `cargo fmt --all -- --check`
73-
uses: actions-rs/cargo@v1
74-
with:
75-
command: fmt
76-
args: --all -- --check
66+
- uses: r7kamura/rust-problem-matchers@v1.1.0
67+
- run: cargo fmt --all -- --check
7768

7869
clippy:
7970
name: Clippy
8071
runs-on: ubuntu-latest
8172
steps:
8273
- uses: actions/checkout@v2
83-
- name: Run `cargo clippy`
84-
uses: actions-rs/cargo@v1
85-
with:
86-
command: clippy
74+
- uses: r7kamura/rust-problem-matchers@v1.1.0
75+
- run: cargo clippy

0 commit comments

Comments
 (0)