Skip to content

Commit dd30c42

Browse files
committed
Use cargo -V instead of cargo update to install the toolchain
This is still a hack. There should be a way to install the toolchain file with `rustup` somehow.
1 parent 6250685 commit dd30c42

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/clippy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
- name: Checkout
3939
uses: actions/[email protected]
4040

41-
- name: Run cargo update
42-
run: cargo update
41+
# HACK(flip1995): This is here to install the correct toolchain
42+
- name: Print cargo version
43+
run: cargo -V
4344

4445
# Run
4546
- name: Set LD_LIBRARY_PATH (Linux)

.github/workflows/clippy_bors.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ jobs:
8888
- name: Checkout
8989
uses: actions/[email protected]
9090

91-
- name: Run cargo update
92-
run: cargo update
91+
# HACK(flip1995): This is here to install the correct toolchain
92+
- name: Print cargo version
93+
run: cargo -V
9394

9495
# Run
9596
- name: Set LD_LIBRARY_PATH (Linux)
@@ -149,8 +150,9 @@ jobs:
149150
- name: Checkout
150151
uses: actions/[email protected]
151152

152-
- name: Run cargo update
153-
run: cargo update
153+
# HACK(flip1995): This is here to install the correct toolchain
154+
- name: Print cargo version
155+
run: cargo -V
154156

155157
# Run
156158
- name: Build Integration Test
@@ -207,8 +209,9 @@ jobs:
207209
- name: Checkout
208210
uses: actions/[email protected]
209211

210-
- name: Run cargo update
211-
run: cargo update
212+
# HACK(flip1995): This is here to install the correct toolchain
213+
- name: Print cargo version
214+
run: cargo -V
212215

213216
# Download
214217
- name: Download target dir

0 commit comments

Comments
 (0)