mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 04:47:53 -04:00
ci: aim to increase cache reuse
This commit is contained in:
@@ -88,6 +88,9 @@ jobs:
|
|||||||
targets: ${{ matrix.supporteds.target }}
|
targets: ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
shared-key: ${{ matrix.supporteds.target }}
|
||||||
|
cache-on-failure: "true"
|
||||||
|
|
||||||
- name: Check
|
- name: Check
|
||||||
run: cargo check --verbose --target ${{ matrix.supporteds.target }}
|
run: cargo check --verbose --target ${{ matrix.supporteds.target }}
|
||||||
|
@@ -19,6 +19,9 @@ jobs:
|
|||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
shared-key: ${{ matrix.supporteds.target }}
|
||||||
|
cache-on-failure: "true"
|
||||||
|
|
||||||
- name: Build for release
|
- name: Build for release
|
||||||
run: cargo build --release --verbose
|
run: cargo build --release --verbose
|
||||||
|
Reference in New Issue
Block a user