Skip to content

Commit

Permalink
Bump GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Sep 10, 2024
1 parent 79aee88 commit f1476d8
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Lint themes

permissions:
contents: read

on:
push:
pull_request:
Expand All @@ -13,10 +16,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
php-version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"]
php-version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use php ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
Expand All @@ -31,19 +34,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: lts

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

- name: Cache Yarn dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down

0 comments on commit f1476d8

Please sign in to comment.