Skip to content

Commit c5aff50

Browse files
committed
ci: explicitly install rust toolchain
rustup 1.28.0 has made a breaking change: toolchains listed in rust-toolchain.toml will no longer be automatically installed. This explicitly installs the configured rust toolchain prior to build in CI.
1 parent 58a1d39 commit c5aff50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
# Install `patch`, needed to build `krane-bundle`, and tools for linking against musl
2424
- run: sudo apt-get install -y patch musl-tools musl-dev
2525
- run: rustup target add x86_64-unknown-linux-musl
26+
- run: rustup toolchain install
2627
- run: CARGO_BUILD_TARGET=x86_64-unknown-linux-musl make build
2728

2829
cross-build:

0 commit comments

Comments
 (0)