Skip to content

Commit 521b881

Browse files
committed
Switch from actions-rs/cargo to plain run
1 parent 6a3aea8 commit 521b881

File tree

3 files changed

+8
-23
lines changed

3 files changed

+8
-23
lines changed

.github/workflows/ci.yaml

+5-13
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v3
2323
- name: Build
24-
uses: actions-rs/cargo@v1
25-
with:
26-
command: build
24+
run: cargo build
2725
- name: Test
2826
run: ./ci/test_full.sh
2927

@@ -39,12 +37,9 @@ jobs:
3937
- name: Checkout
4038
uses: actions/checkout@v3
4139
- name: Build
42-
uses: actions-rs/cargo@v1
43-
with:
44-
command: build
45-
# This test crate is intentionally separate, because we need
46-
# independent features for no-std. (rust-lang/cargo#2589)
47-
args: --target thumbv6m-none-eabi --manifest-path ci/check/Cargo.toml
40+
run: cargo build --target thumbv6m-none-eabi --manifest-path ci/check/Cargo.toml
41+
# This test crate is intentionally separate, because we need
42+
# independent features for no-std. (rust-lang/cargo#2589)
4843

4944
fmt:
5045
name: Format
@@ -57,7 +52,4 @@ jobs:
5752
- name: Checkout
5853
uses: actions/checkout@v3
5954
- name: Check formatting
60-
uses: actions-rs/cargo@v1
61-
with:
62-
command: fmt
63-
args: --all --check
55+
run: cargo fmt --all --check

.github/workflows/master.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v3
2424
- name: Build
25-
uses: actions-rs/cargo@v1
26-
with:
27-
command: build
25+
run: cargo build
2826
- name: Test
2927
run: ./ci/test_full.sh

.github/workflows/pr.yaml

+2-7
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v3
2020
- name: Build
21-
uses: actions-rs/cargo@v1
22-
with:
23-
command: build
21+
run: cargo build
2422
- name: Test
2523
run: ./ci/test_full.sh
2624

@@ -35,7 +33,4 @@ jobs:
3533
- name: Checkout
3634
uses: actions/checkout@v3
3735
- name: Check formatting
38-
uses: actions-rs/cargo@v1
39-
with:
40-
command: fmt
41-
args: --all --check
36+
run: cargo fmt --all --check

0 commit comments

Comments
 (0)