Skip to content

Commit e91db92

Browse files
further simplify the workflow
1 parent 7572047 commit e91db92

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/doc/src/guide/continuous-integration.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,21 @@ on:
3434
jobs:
3535
build_and_test:
3636
name: Rust project - latest
37-
runs-on: ${{ matrix.operating-system }}
38-
continue-on-error: true
37+
runs-on: ubuntu-latest
3938
strategy:
40-
fail-fast: false
4139
matrix:
4240
toolchain:
4341
- stable
4442
- beta
4543
- nightly
46-
operating-system:
47-
- "ubuntu-latest"
4844
steps:
4945
- uses: actions/checkout@v2
50-
- uses: actions-rs/toolchain@v1
51-
with:
52-
toolchain: ${{ matrix.toolchain }}
53-
override: true
46+
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
5447
- run: cargo build --verbose
5548
- run: cargo test --verbose
5649
```
5750

58-
This will test all three release channels, see [actions-rs documentation](https://github.com/actions-rs/cargo) and [GitHub Actions documentation](https://docs.github.com/en/actions) for more information.
51+
This will test all three release channels, see [GitHub Actions documentation](https://docs.github.com/en/actions) for more information.
5952

6053
### GitLab CI
6154

0 commit comments

Comments
 (0)