Skip to content

Commit

Permalink
fix: CI: Force use of Rust 1.77 (KDAB#957)
Browse files Browse the repository at this point in the history
This works around our CI issues on Windows, as they seem to have appeared
with the 1.78 update

See: KDAB#958
  • Loading branch information
LeonMatthesKDAB authored May 21, 2024
1 parent fdb5100 commit 40f5ad1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/github-cxx-qt-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,13 @@ jobs:
# Ensure clippy and rustfmt is installed, they should come from github runner
#
# Note we still need rustfmt for the cxx-qt-gen tests
#
# TODO: Remove the `rustup default 1.77` selection.
# This is a workaround for Github Actions, which cannot currently compile CXX-Qt with Rust 1.78.
#
# See: https://github.com/KDAB/cxx-qt/issues/958
- name: "Install Rust toolchain"
run: rustup component add clippy rustfmt
run: rustup default 1.77 && rustup component add clippy rustfmt

- name: "Rust tools cache"
uses: actions/cache@v4
Expand Down

0 comments on commit 40f5ad1

Please sign in to comment.