Skip to content

Commit

Permalink
housekeeping: Update actions/cache action to v4 (#2909)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Feb 1, 2024
1 parent f654645 commit bcb8bdc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
with:
go-version: 1.21.x
- name: go mod cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-go-mod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mod-
- name: go build cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -46,15 +46,15 @@ jobs:
with:
go-version: 1.21.x
- name: go mod cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-go-mod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mod-
- name: go test cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -79,15 +79,15 @@ jobs:
with:
go-version: 1.21.x
- name: go mod cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-go-mod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mod-
- name: go lint cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: ./tools/install-yarn.sh
- name: node_modules cache
id: node-modules-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: ./tools/install-yarn.sh
- name: node_modules cache
id: node-modules-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
Expand All @@ -35,7 +35,7 @@ jobs:
steps.node-modules-cache.outputs.cache-hit == 'true' &&
github.ref != 'refs/heads/main'
id: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/dist
Expand All @@ -61,7 +61,7 @@ jobs:
run: ./tools/install-yarn.sh
- name: node_modules cache
id: node-modules-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down Expand Up @@ -91,29 +91,29 @@ jobs:
run: ./tools/install-yarn.sh
- name: cypress cache
id: cypress-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/Cypress
key: ${{ runner.os }}-cypress-${{ hashFiles('**/yarn.lock') }}
- name: node_modules cache
id: node-modules-cache
if: steps.cypress-cache.outputs.cache-hit == 'true'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ steps.setup-node.outputs.node-version }}-node-modules-${{ hashFiles('**/yarn.lock') }}
- name: go mod cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-${{ steps.setup-go.outputs.go-version }}-go-mod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mod-
- name: go build cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
run: ./tools/install-yarn.sh
- name: node_modules cache
id: node-modules-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
run: ./tools/install-yarn.sh
- name: node_modules cache
id: node-modules-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down

0 comments on commit bcb8bdc

Please sign in to comment.