Skip to content

Commit 8c3b5bf

Browse files
committed
ci: replace actions-rs/cargo with direct calls to cargo
Signed-off-by: Martin Kröning <[email protected]>
1 parent fb3b740 commit 8c3b5bf

File tree

1 file changed

+6
-34
lines changed

1 file changed

+6
-34
lines changed

.github/workflows/build.yml

+6-34
Original file line numberDiff line numberDiff line change
@@ -18,50 +18,31 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: dtolnay/rust-toolchain@stable
21-
22-
- name: Run cargo check
23-
uses: actions-rs/cargo@v1
24-
with:
25-
command: check
21+
- run: cargo check
2622

2723
test:
2824
name: Test Suite
2925
runs-on: ubuntu-latest
3026
steps:
3127
- uses: actions/checkout@v4
3228
- uses: dtolnay/rust-toolchain@stable
33-
34-
- name: Run cargo test
35-
uses: actions-rs/cargo@v1
36-
with:
37-
command: test
29+
- run: cargo test
3830

3931
unstable:
4032
name: Test Suite (unstable)
4133
runs-on: ubuntu-latest
4234
steps:
4335
- uses: actions/checkout@v4
4436
- uses: dtolnay/rust-toolchain@nightly
45-
46-
- name: Run cargo test --features unstable
47-
uses: actions-rs/cargo@v1
48-
with:
49-
command: test
50-
args: --features unstable
37+
- run: cargo test --features unstable
5138

5239
very_unstable:
5340
name: Test Suite (very_unstable)
5441
runs-on: ubuntu-latest
5542
steps:
5643
- uses: actions/checkout@v4
5744
- uses: dtolnay/rust-toolchain@nightly
58-
59-
- name: Run cargo test --features very_unstable
60-
uses: actions-rs/cargo@v1
61-
with:
62-
command: test
63-
args: --features very_unstable
64-
45+
- run: cargo test --features very_unstable
6546

6647
lints:
6748
name: Lints
@@ -71,14 +52,5 @@ jobs:
7152
- uses: dtolnay/rust-toolchain@stable
7253
with:
7354
components: clippy, rustfmt
74-
75-
- name: Run cargo fmt
76-
uses: actions-rs/cargo@v1
77-
with:
78-
command: fmt
79-
args: --all -- --check
80-
81-
- name: Run cargo clippy
82-
uses: actions-rs/cargo@v1
83-
with:
84-
command: clippy
55+
- run: cargo fmt --all --check
56+
- run: cargo clippy

0 commit comments

Comments
 (0)