Skip to content

Commit 7d3f7ec

Browse files
committed
Switch from actions-rs/cargo to plain run
1 parent e431077 commit 7d3f7ec

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
@@ -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,10 +37,7 @@ jobs:
3937
- name: Checkout
4038
uses: actions/checkout@v3
4139
- name: Build
42-
uses: actions-rs/cargo@v1
43-
with:
44-
command: build
45-
args: --target thumbv6m-none-eabi --no-default-features --features i128
40+
run: cargo build --target thumbv6m-none-eabi --no-default-features --features i128
4641

4742
fmt:
4843
name: Format
@@ -55,7 +50,4 @@ jobs:
5550
- name: Checkout
5651
uses: actions/checkout@v3
5752
- name: Check formatting
58-
uses: actions-rs/cargo@v1
59-
with:
60-
command: fmt
61-
args: --all --check
53+
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)