Skip to content

Commit a4a3d2a

Browse files
fix ci after rustup breaking change (#5703)
1 parent 5bae866 commit a4a3d2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
6666
- name: Setup stable Rust Toolchain
6767
if: steps.modified.outputs.rust_src == 'true'
68-
run: rustup show
68+
run: rustup show active-toolchain || rustup toolchain install
6969
working-directory: ./quickwit
7070
- name: Setup cache
7171
uses: Swatinem/rust-cache@v2
@@ -120,7 +120,7 @@ jobs:
120120
run: rustup toolchain install nightly
121121
- name: Setup stable Rust Toolchain
122122
if: steps.modified.outputs.rust_src == 'true'
123-
run: rustup show
123+
run: rustup show active-toolchain || rustup toolchain install
124124
working-directory: ./quickwit
125125
- name: Setup cache
126126
if: steps.modified.outputs.rust_src == 'true'

.github/workflows/ui-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Cypress run
2626
command: |
2727
sudo apt-get -y install protobuf-compiler
28-
rustup show
28+
rustup show active-toolchain || rustup toolchain install
2929
CI=false yarn --cwd quickwit-ui build
3030
RUSTFLAGS="--cfg tokio_unstable" cargo build --features=postgres
3131
mkdir qwdata

0 commit comments

Comments
 (0)