From f1db3e82a620f0ae959c53b56fc7075188656b27 Mon Sep 17 00:00:00 2001 From: Gianmarco Fraccaroli Date: Thu, 5 Oct 2023 14:27:48 +0200 Subject: [PATCH] [ci skip] change cache --- .github/workflows/build-and-test.yml | 16 ++++++++-------- .github/workflows/checks.yml | 2 +- .github/workflows/cron.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/triggerable.yml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 4b176ca18b..e25046f4b5 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -71,7 +71,7 @@ jobs: ~/.cargo/git/db/ target wasm/wasm_source/target - key: ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-wasm-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-wasm- - name: Build WASM run: make build-wasm-scripts @@ -140,7 +140,7 @@ jobs: ~/.cargo/git/db/ target wasm/wasm_source/target - key: ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-wasm-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-wasm- - name: Test Wasm run: make test-wasm @@ -187,7 +187,7 @@ jobs: unit-and-integration-tests: runs-on: group: gians-runners - timeout-minutes: 35 + timeout-minutes: 50 needs: [build-wasm] strategy: fail-fast: false @@ -235,7 +235,7 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Start sccache server run: sccache --start-server @@ -282,7 +282,7 @@ jobs: run-benchmarks: runs-on: group: gians-runners - timeout-minutes: 25 + timeout-minutes: 30 needs: [build-wasm] strategy: fail-fast: false @@ -330,7 +330,7 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Start sccache server run: sccache --start-server @@ -408,7 +408,7 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Install mold linker run: | @@ -517,7 +517,7 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Start sccache server run: sccache --start-server diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e00ce00bee..44bef7bd9a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -85,7 +85,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.3 diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index e5f74eb35f..07ef5e7bde 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -50,7 +50,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Install cargo ${{ matrix.make.command }} run: curl https://i.jpillora.com/${{ matrix.make.version }}! | bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36cecd5702..dfa2903548 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Start sccache server run: sccache --start-server diff --git a/.github/workflows/triggerable.yml b/.github/workflows/triggerable.yml index 9336471b94..001a4b7b9a 100644 --- a/.github/workflows/triggerable.yml +++ b/.github/workflows/triggerable.yml @@ -60,7 +60,7 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-${{ github.job }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Start sccache server run: sccache --start-server