Skip to content

Commit f1476d8

Browse files
committed
Bump GitHub actions
1 parent 79aee88 commit f1476d8

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/lint.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Lint themes
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
pull_request:
@@ -13,10 +16,10 @@ jobs:
1316
runs-on: ${{ matrix.os }}
1417
strategy:
1518
matrix:
16-
php-version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"]
19+
php-version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
1720
os: [ubuntu-latest]
1821
steps:
19-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2023
- name: Use php ${{ matrix.php-version }}
2124
uses: shivammathur/setup-php@v2
2225
with:
@@ -31,19 +34,19 @@ jobs:
3134
runs-on: ubuntu-latest
3235
steps:
3336
- name: Checkout code
34-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3538

3639
- name: Set up Node
37-
uses: actions/setup-node@v3
40+
uses: actions/setup-node@v4
3841
with:
39-
node-version: 16
42+
node-version: lts
4043

4144
- name: Get Yarn cache directory path
4245
id: yarn-cache-dir-path
4346
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
4447

4548
- name: Cache Yarn dependencies
46-
uses: actions/cache@v3
49+
uses: actions/cache@v4
4750
with:
4851
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
4952
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

0 commit comments

Comments
 (0)