summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2025-01-30 17:18:53 +0100
committerLinus Färnstrand <linus@mullvad.net>2025-02-04 14:22:57 +0100
commit233fd7532d812404d56b158685895eefd557fe2e (patch)
treecafd395a3b402041e820897f8d3345abdb19b455
parentf390b31c0107ee7aece5fe5e27a79ba689b9b564 (diff)
downloadmullvadvpn-233fd7532d812404d56b158685895eefd557fe2e.tar.xz
mullvadvpn-233fd7532d812404d56b158685895eefd557fe2e.zip
Test linux against pinned Rust version
-rw-r--r--.github/workflows/daemon.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml
index 43c9931f8e..8e22397b9c 100644
--- a/.github/workflows/daemon.yml
+++ b/.github/workflows/daemon.yml
@@ -78,8 +78,14 @@ jobs:
git config --global --add safe.directory '*'
git submodule update --init --depth=1 dist-assets/binaries
git submodule update --init --recursive --depth=1 wireguard-go-rs
- # The container image already has rustup and Rust, but only the stable toolchain
+
+ # The container image already has rustup and the pinned version of Rust
- name: Install Rust toolchain
+ # When running this job for "stable" test against our pinned rust version
+ # instead of the stable channel.
+ # TODO: Improve this so both "stable" and the pinned version are tested if
+ # they differ.
+ if: ${{ matrix.rust != 'stable' }}
run: rustup override set ${{ matrix.rust }}
- name: Build and test crates