Skip to content

Commit

Permalink
Try cache v4
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed May 12, 2024
1 parent 1d0d562 commit 51d64e4
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ jobs:
submodules: recursive

- name: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
save-always: true
path: |
**/node_modules
.yarn
Expand All @@ -63,15 +64,15 @@ jobs:
fetch-depth: 0

- name: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}

- name: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./*
Expand All @@ -92,7 +93,7 @@ jobs:
fetch-depth: 0

- name: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down Expand Up @@ -125,7 +126,7 @@ jobs:
uses: onbjerg/foundry-toolchain@v1

- name: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./*
Expand All @@ -149,15 +150,15 @@ jobs:
fetch-depth: 0

- name: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}

- name: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./*
Expand Down Expand Up @@ -215,23 +216,23 @@ jobs:
make-default: true

- name: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}

- name: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./*
!./rust
key: ${{ github.event.pull_request.head.sha || github.sha }}

- name: cargo-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -308,23 +309,23 @@ jobs:
make-default: true

- name: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}

- name: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./*
!./rust
key: ${{ github.event.pull_request.head.sha || github.sha }}

- name: cargo-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -356,7 +357,7 @@ jobs:
uses: onbjerg/foundry-toolchain@v1

- name: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./*
Expand All @@ -377,15 +378,15 @@ jobs:
fetch-depth: 0

- name: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}

- name: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./*
Expand Down

0 comments on commit 51d64e4

Please sign in to comment.