Skip to content

Commit 02367fe

Browse files
authored
Merge pull request #11050 from nanaya/gha-node
Update github action actions
2 parents 1d40ad0 + 34c2e78 commit 02367fe

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/lint.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup node.js
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
cache: yarn
24-
node-version: '18'
24+
node-version: '20'
2525

2626
- name: Set php version
2727
uses: shivammathur/setup-php@v2
@@ -35,7 +35,7 @@ jobs:
3535
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3636

3737
- name: Cache composer
38-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3939
with:
4040
path: ${{ steps.composercache.outputs.dir }}
4141
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
runs-on: ubuntu-latest
100100
steps:
101101
- name: Checkout
102-
uses: actions/checkout@v3
102+
uses: actions/checkout@v4
103103

104104
- name: Services
105105
run: 'docker compose up --quiet-pull --wait
@@ -112,10 +112,10 @@ jobs:
112112
'
113113

114114
- name: Setup node.js
115-
uses: actions/setup-node@v3
115+
uses: actions/setup-node@v4
116116
with:
117117
cache: yarn
118-
node-version: '18'
118+
node-version: '20'
119119

120120
- name: Set php version
121121
uses: shivammathur/setup-php@v2
@@ -130,7 +130,7 @@ jobs:
130130
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
131131

132132
- name: Cache composer
133-
uses: actions/cache@v3
133+
uses: actions/cache@v4
134134
with:
135135
path: ${{ steps.composercache.outputs.dir }}
136136
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}

0 commit comments

Comments
 (0)