Skip to content

Commit 6e2ab5e

Browse files
authored
Rust version hotfix (#179)
* remove rustup check + added rust version override * Update ci-matrix.yml
1 parent 9c9a625 commit 6e2ab5e

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/ci-matrix.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ jobs:
2020
runs-on: ${{ matrix.target.os }}
2121
steps:
2222
- uses: actions/checkout@v3
23+
- name: Stable with rustfmt and clippy
24+
uses: actions-rs/toolchain@v1
25+
with:
26+
profile: minimal
27+
toolchain: 1.63.0
28+
components: rustfmt, clippy
29+
override: true
2330
- uses: actions/cache@v3
2431
with:
2532
path: |
@@ -33,20 +40,6 @@ jobs:
3340
restore-keys: ${{ runner.OS }}-cargo-
3441
- name: Build ${{ matrix.target.os }}
3542
run: |
36-
rustup check
37-
case "$OSTYPE" in
38-
msys)
39-
echo "Windows doesn't like it when rustup updates itself"
40-
rustup update --no-self-update stable
41-
;;
42-
*)
43-
echo "Linux and macOS don't need manual suppression of rustup self update"
44-
rustup update stable
45-
;;
46-
esac
47-
rustup check
48-
rustup component add rustfmt
49-
rustup component add clippy
5043
./ci/all.sh
5144
./ci/multinode_integration_test.sh
5245
./ci/collect_results.sh

0 commit comments

Comments
 (0)