cd.yaml: do not use runner's os as cache key, since it seems buggy
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled

This commit is contained in:
Akulij 2025-05-04 00:56:37 +03:00
parent 3c1ea8182a
commit 12d97b2197

View File

@ -12,7 +12,7 @@ jobs:
with: with:
path: | path: |
~/.rustup/toolchains ~/.rustup/toolchains
key: ${{ runner.os }}-rust-toolchainv2 key: linux-rust-toolchainv2
- name: Install minimal stable with clippy and rustfmt - name: Install minimal stable with clippy and rustfmt
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
@ -39,7 +39,7 @@ jobs:
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
target target
key: ${{ runner.os }}-project-dependencies key: linux-project-dependencies
- run: cargo build --release --target x86_64-unknown-linux-gnu - run: cargo build --release --target x86_64-unknown-linux-gnu
- name: Save cached cargo dependencies - name: Save cached cargo dependencies
id: cache-project-dependencies-restore id: cache-project-dependencies-restore