From 2e5680ac6a5cfce452cd7e6ad1697798fe3f09c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Rom=C3=A1n=20N=C3=BA=C3=B1ez?= Date: Mon, 14 Sep 2026 15:35:04 +0200 Subject: [PATCH] Persist Rust CI cache --- .gitea/workflows/ci.yml | 8 +++++++- rust-toolchain.toml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8555443..a803971 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -20,7 +20,13 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ sh -s -- -y --profile minimal echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" - "$HOME/.cargo/bin/rustup" toolchain install nightly --profile minimal + "$HOME/.cargo/bin/rustup" toolchain install nightly-2026-09-14 --profile minimal + + - name: Cache Rust dependencies and build artifacts + uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 + with: + shared-key: linux-nightly + cache-bin: false - name: Install Linux dependencies run: | diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5d56faf..7e614b4 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly" +channel = "nightly-2026-09-14" -- 2.54.0