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"