From 8c3f97cbfdc837fa765e94cc163265fe89a9b7f8 Mon Sep 17 00:00:00 2001 From: Brezak Date: Wed, 26 Feb 2025 21:43:06 +0100 Subject: [PATCH] Download the std sources ci so the compile fail errors line up with developer machines --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebfb8f42f831d..747fb0d6948e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,9 @@ jobs: target/ key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }} - uses: dtolnay/rust-toolchain@stable + with: + # Compile fail tests need std sources for the errors to display correctly + components: rust-std - name: Install Linux dependencies uses: ./.github/actions/install-linux-deps - name: Build & run tests