Skip to content

Commit 1709495

Browse files
committed
Switch from actions-rs/cargo to plain run
1 parent 4f79968 commit 1709495

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
2727
- name: Checkout
2828
uses: actions/checkout@v3
2929
- name: Build
30-
uses: actions-rs/cargo@v1
31-
with:
32-
command: build
30+
run: cargo build
3331
- name: Test
3432
run: ./ci/test_full.sh
3533

@@ -45,10 +43,7 @@ jobs:
4543
- name: Checkout
4644
uses: actions/checkout@v3
4745
- name: Build
48-
uses: actions-rs/cargo@v1
49-
with:
50-
command: build
51-
args: --target thumbv6m-none-eabi --no-default-features --features "libm rand serde"
46+
run: cargo build --target thumbv6m-none-eabi --no-default-features --features "libm rand serde"
5247

5348
fmt:
5449
name: Format
@@ -61,7 +56,4 @@ jobs:
6156
- name: Checkout
6257
uses: actions/checkout@v3
6358
- name: Check formatting
64-
uses: actions-rs/cargo@v1
65-
with:
66-
command: fmt
67-
args: --all --check
59+
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)