Skip to content

Commit

Permalink
chore(github-actions): bump actions/cache from 3 to 4 (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] committed Jan 18, 2024
1 parent 8d08b90 commit 4ad4354
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
cache: 'pnpm'

- name: Cache pnpm dependencies 馃ァ
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand All @@ -299,7 +299,7 @@ jobs:
run: pnpm run test:cov

- name: Save tests coverage in cache 馃ァ
uses: actions/cache/save@v3
uses: actions/cache/save@v4
id: cache-tests-coverage
with:
path: tests/coverage
Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -416,7 +416,7 @@ jobs:
fetch-depth: 0

- name: Restore tests coverage from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-tests-coverage
with:
path: tests/coverage
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cache: 'pnpm'

- name: Cache pnpm dependencies 馃ァ
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand All @@ -211,7 +211,7 @@ jobs:
echo "JEST_LINES_PERCENT=${{ env.JEST_LINES_PERCENT }}" >> "$GITHUB_OUTPUT"
- name: Save tests coverage in cache 馃ァ
uses: actions/cache/save@v3
uses: actions/cache/save@v4
id: cache-tests-coverage
with:
path: tests/coverage
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
cache: 'pnpm'

- name: Restore pnpm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
with:
fetch-depth: 0
- name: Restore tests coverage from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-tests-coverage
with:
path: tests/coverage
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/upsert-pr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cache: 'pnpm'

- name: Cache npm dependencies 馃ァ
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-node-modules
with:
path: node_modules
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
cache: 'pnpm'

- name: Restore npm dependencies from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-node-modules
with:
path: node_modules
Expand All @@ -88,7 +88,7 @@ jobs:
sed -E 's/^## ([0-9]+\.[0-9]+\.[0-9]+) \(https:\/\/github\.com\/antoinezanardi\/werewolves-assistant-api-next\/compare\/v[0-9]+\.[0-9]+\.[0-9]+...v[0-9]+\.[0-9]+\.[0-9]+\) \(([0-9-]+)\)/## Release v\1/' RELEASE.md > temp.md && mv temp.md RELEASE.md
- name: Cache release changelog 馃ァ
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-release-changelog
with:
path: RELEASE.md
Expand All @@ -108,7 +108,7 @@ jobs:
uses: actions/checkout@v4

- name: Restore release changelog from cache 馃ァ
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-release-changelog
with:
path: RELEASE.md
Expand Down

0 comments on commit 4ad4354

Please sign in to comment.