T25: CI's cache step runs only in the Linux container: on the owner's own macOS and Windows runners its post step cleaned their real ~/.cargo, deleting rustup after every job and leaving its proxies pointing at nothing
CI / platforms (ubuntu-24.04) (push) Successful in 1m6s
CI / platforms (windows-latest) (push) Successful in 1m30s
CI / macos (push) Successful in 13m13s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-15 15:55:52 -04:00
1 parent bc2059949a
commit 2b8ae5d026
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -14,7 +14,6 @@ jobs:
with:
toolchain: "1.95"
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: scripts/check.sh
- run: cargo build --locked
@@ -32,7 +31,9 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.95"
- uses: Swatinem/rust-cache@v2
# On a host runner its post step deletes the host's rustup.
- if: runner.os == 'Linux'
uses: Swatinem/rust-cache@v2
- if: runner.os != 'Linux'
run: cargo test --locked --quiet
# The Linux job container runs as root, which ignores the file permissions the tests check.