## Summary - Pin the nightly Rust toolchain used by CI - Cache Cargo dependencies and build artifacts between Gitea Actions runs - Share the Linux nightly cache across branches Reviewed-on: #4 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #4.
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user