Skip to content

Commit 187d0f3

Browse files
committed
Run lint only for the newest PHP version
1 parent 05bab1d commit 187d0f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
- name: Run Linters
3535
run: composer run-script lint
36+
# lint will fail for older PHP versions, so only run it on the newest version
37+
if: matrix.php == '8.5'
3638

3739
- name: Run Tests
3840
run: composer run-script test

0 commit comments

Comments
 (0)