Skip to content

Commit 8a47e8a

Browse files
authored
Fix beta & nightly builds
1 parent dcac726 commit 8a47e8a

File tree

1 file changed

+31
-14
lines changed

1 file changed

+31
-14
lines changed

.github/workflows/rust.yml

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,19 @@ jobs:
3434
- uses: actions-rs/toolchain@v1
3535
with:
3636
toolchain: beta
37-
- name: Build
38-
run: cargo build --verbose --all
39-
- name: Run tests
40-
run: cargo test --verbose --all
41-
- name: Docs
42-
run: cargo doc --verbose --all
37+
override: true
38+
- uses: actions-rs/cargo@v1
39+
with:
40+
command: build
41+
args: --verbose --all
42+
- uses: actions-rs/cargo@v1
43+
with:
44+
command: test
45+
args: --verbose --all
46+
- uses: actions-rs/cargo@v1
47+
with:
48+
command: doc
49+
args: --verbose --all
4350

4451
build_nightly:
4552
runs-on: ubuntu-latest
@@ -49,12 +56,19 @@ jobs:
4956
- uses: actions-rs/toolchain@v1
5057
with:
5158
toolchain: nightly
52-
- name: Build
53-
run: cargo build --verbose --all
54-
- name: Run tests
55-
run: cargo test --verbose --all
56-
- name: Docs
57-
run: cargo doc --verbose --all
59+
override: true
60+
- uses: actions-rs/cargo@v1
61+
with:
62+
command: build
63+
args: --verbose --all
64+
- uses: actions-rs/cargo@v1
65+
with:
66+
command: test
67+
args: --verbose --all
68+
- uses: actions-rs/cargo@v1
69+
with:
70+
command: doc
71+
args: --verbose --all
5872

5973
check_big_endian:
6074
runs-on: ubuntu-latest
@@ -65,5 +79,8 @@ jobs:
6579
with:
6680
toolchain: stable
6781
target: powerpc64-unknown-linux-gnu
68-
- name: Check
69-
run: cargo check --verbose --target powerpc64-unknown-linux-gnu --lib --bins --tests
82+
override: true
83+
- uses: actions-rs/cargo@v1
84+
with:
85+
command: check
86+
args: --verbose --lib --bins --tests

0 commit comments

Comments
 (0)