Skip to content

Commit 42b3653

Browse files
committed
Switch from actions-rs/cargo to plain run
1 parent 8e6e051 commit 42b3653

File tree

3 files changed

+8
-29
lines changed

3 files changed

+8
-29
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 19 deletions
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

@@ -43,10 +41,7 @@ jobs:
4341
- name: Checkout
4442
uses: actions/checkout@v3
4543
- name: Test
46-
uses: actions-rs/cargo@v1
47-
with:
48-
command: test
49-
args: --target i586-unknown-linux-gnu --all-features
44+
run: cargo test --target i586-unknown-linux-gnu --all-features
5045

5146
# try a target that doesn't have std at all
5247
no_std:
@@ -60,15 +55,9 @@ jobs:
6055
- name: Checkout
6156
uses: actions/checkout@v3
6257
- name: Build
63-
uses: actions-rs/cargo@v1
64-
with:
65-
command: build
66-
args: --target thumbv6m-none-eabi --no-default-features --features i128
58+
run: cargo build --target thumbv6m-none-eabi --no-default-features --features i128
6759
- name: Build (libm)
68-
uses: actions-rs/cargo@v1
69-
with:
70-
command: build
71-
args: --target thumbv6m-none-eabi --no-default-features --features libm
60+
run: cargo build --target thumbv6m-none-eabi --no-default-features --features libm
7261

7362
fmt:
7463
name: Format
@@ -81,7 +70,4 @@ jobs:
8170
- name: Checkout
8271
uses: actions/checkout@v3
8372
- name: Check formatting
84-
uses: actions-rs/cargo@v1
85-
with:
86-
command: fmt
87-
args: --all --check
73+
run: cargo fmt --all --check

.github/workflows/master.yaml

Lines changed: 1 addition & 3 deletions
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

Lines changed: 2 additions & 7 deletions
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)