Skip to content

Commit 65de54e

Browse files
authored
Fix Rustup step in CI (#115)
Seems like we finally got hit by the rustup v1.28 changes (Github action runners likely updated between last week and now). We were previously using [actions-rs/toolchain](https://github.com/actions-rs/toolchain) but that has been archived for a while. Instead I've simply replaced that action with a couple of manual `rustup` commands.
1 parent e3e6983 commit 65de54e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yaml

+7-8
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@ jobs:
7070
echo $env:CMAKE_GENERATOR
7171
7272
- name: Install rust ${{ matrix.binary_target }}
73-
uses: actions-rs/toolchain@v1
74-
with:
75-
toolchain: ${{ matrix.toolchain }}-${{ matrix.binary_target }}
76-
profile: minimal
73+
run: |
74+
rustup -V
75+
rustup set profile minimal
76+
rustup toolchain install --force-non-host ${{ matrix.toolchain }}-${{ matrix.binary_target }}
77+
rustup show
7778
78-
- uses: actions-rs/cargo@v1
79-
with:
80-
command: make
81-
args: --no-workspace workspace-ci-flow
79+
- name: Build
80+
run: cargo make --no-workspace workspace-ci-flow

0 commit comments

Comments
 (0)