maybe it's only the cargo registry?
Some checks failed
Rust Build / build (push) Failing after 13s

This commit is contained in:
Soph :3 2026-02-08 14:48:25 +02:00
parent 4dba3901b9
commit f99a63b267

View file

@ -13,16 +13,12 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: https://github.com/actions/checkout@v3 uses: https://github.com/actions/checkout@v3
- name: Cache apt packages
- name: Cache cargo registry
uses: https://github.com/actions/cache@v3 uses: https://github.com/actions/cache@v3
with: with:
path: | path: /var/cache/apt/archives
~/.cargo/registry key: apt-${{ runner.os }}-${{ hashFiles('**/apt-packages.txt') }}
~/.cargo/git restore-keys: apt-${{ runner.os }}-
key: cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: cargo-registry-
- name: Cache cargo build - name: Cache cargo build
uses: https://github.com/actions/cache@v3 uses: https://github.com/actions/cache@v3
with: with:
@ -31,13 +27,14 @@ jobs:
restore-keys: cargo-build- restore-keys: cargo-build-
# --- Cache apt packages --- # --- Cache apt packages ---
- name: Cache apt packages - name: Cache cargo registry
uses: https://github.com/actions/cache@v3 uses: https://github.com/actions/cache@v3
with: with:
path: /var/cache/apt/archives path: |
key: apt-${{ runner.os }}-${{ hashFiles('**/apt-packages.txt') }} ~/.cargo/registry
restore-keys: apt-${{ runner.os }}- ~/.cargo/git
key: cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: cargo-registry-
- name: Install Rust - name: Install Rust
uses: https://github.com/actions-rs/toolchain@v1 uses: https://github.com/actions-rs/toolchain@v1
with: with: