Skip to content

Commit 80ca909

Browse files
authored
Merge pull request #640 from newfold-labs/PRESS10-57
Update actions/cache to version 4
2 parents b5c3e52 + 4ee16c0 commit 80ca909

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/lint-check-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
if: "!! env.GIT_DIFF"
4545

4646
- name: Cache Composer vendor directory
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: ${{ steps.composer-cache.outputs.dir }}
5050
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/lint-check-spa.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
with:
3030
node-version: 16.x
3131
cache: 'npm'
32-
32+
3333
# Checks if node_modules exists in the cache.
3434
- name: Cache node_modules directory
3535
id: cache
36-
uses: actions/cache@v3
36+
uses: actions/cache@v4
3737
with:
3838
path: node_modules
3939
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
4040
restore-keys: ${{ runner.os }}-node-
41-
41+
4242
- name: Setup Registry
4343
run: printf "@newfold-labs:registry=https://npm.pkg.github.com/\n//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
4444
if: steps.cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)