Skip to content

Commit

Permalink
Try to fix the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Jan 20, 2025
1 parent d59e3e1 commit 435335d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
toolchain: "${{env.RUST_STABLE_VERSION}}"

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: "fellowship-cache-clippy"
save-if: ${{ github.ref == 'refs/heads/master' }}

- name: Clippy
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,10 @@ jobs:

- name: Setup Cache
if: startsWith(steps.get-pr-comment.outputs.group2, 'bench')
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: "fellowship-cmd"
shared-key: "fellowship-cache-cmd"
save-if: ${{ github.ref == 'refs/heads/master' }}

- name: Run cmd
id: cmd
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ jobs:
toolchain: "${{env.RUST_STABLE_VERSION}}"

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: "fellowship-cache-tests"
shared-key: "fellowship-cache-runtime-tests"
save-if: ${{ github.ref == 'refs/heads/master' }}

- name: Download frame-omni-bencher
run: |
Expand Down Expand Up @@ -138,9 +139,10 @@ jobs:
toolchain: "${{env.RUST_STABLE_VERSION}}"

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: "fellowship-cache-tests"
shared-key: "fellowship-cache-integration-tests"
save-if: ${{ github.ref == 'refs/heads/master' }}

- name: Test ${{ matrix.itest.name }}
run: cargo test -p ${{ matrix.itest.package }} --release --locked -q
Expand Down Expand Up @@ -173,9 +175,10 @@ jobs:
toolchain: "${{env.RUST_STABLE_VERSION}}"

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: "fellowship-cache-tests"
shared-key: "fellowship-cache-chain-spec-tests"
save-if: ${{ github.ref == 'refs/heads/master' }}

- name: Build
run: cargo test -p chain-spec-generator --release --locked -q --features=runtime-benchmarks
Expand Down Expand Up @@ -210,9 +213,10 @@ jobs:
toolchain: "${{env.RUST_STABLE_VERSION}}"

- name: Fetch cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: "fellowship-cache-integration-tests"
shared-key: "fellowship-cache-zombienet-tests"
save-if: ${{ github.ref == 'refs/heads/master' }}

- name: Build
run: |
Expand Down

0 comments on commit 435335d

Please sign in to comment.