From 5c29ff52fb76ad360c2e1078289f4a30022875d5 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 14 Jul 2023 21:01:59 +0200 Subject: [PATCH] Try to move rust CI back to 1.70 1.71 seems to have weird issues on Github Actions and that makes the tests fail for no good reason (gosh dangit YAML) --- .github/workflows/rust_checks.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust_checks.yml b/.github/workflows/rust_checks.yml index bb474891f..4e17faaed 100644 --- a/.github/workflows/rust_checks.yml +++ b/.github/workflows/rust_checks.yml @@ -14,9 +14,13 @@ jobs: - name: SetupRust uses: ATiltedTree/setup-rust@v1 with: - rust-version: stable + # FIXME: We want "stable" here, but 1.71 isn't working + # DATE: 2023-07-14 + rust-version: "1.70" - name: cargo fmt run: | + # Hack: setup-rust seems to fail to install this? + rustup component add rustfmt cd fish-rust cargo fmt --check --all @@ -28,7 +32,9 @@ jobs: - name: SetupRust uses: ATiltedTree/setup-rust@v1 with: - rust-version: stable + # FIXME: We want "stable" here, but 1.71 isn't working + # DATE: 2023-07-14 + rust-version: "1.70" - name: Install deps run: | sudo apt install gettext libncurses5-dev libpcre2-dev python3-pip tmux @@ -38,5 +44,7 @@ jobs: cmake -B build - name: cargo clippy run: | + # Hack: setup-rust seems to fail to install this? + rustup component add clippy cd fish-rust cargo clippy --workspace --all-targets -- --deny=warnings