Skip to content

Commit f96a221

Browse files
committed
Upgrade Github Actions dependencies
1 parent e720fff commit f96a221

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77

88
strategy:
99
matrix:
10-
php: [ '7.4', '8.0', '8.1', '8.2' ]
10+
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
1111
prefer: [ 'lowest', 'stable' ]
1212

1313
name: Test on PHP ${{ matrix.php }} with ${{ matrix.prefer }} composer prefer option
1414
runs-on: ubuntu-latest
1515

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

2020
- name: Install PHP
2121
uses: shivammathur/setup-php@v2
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Cache Composer packages
2929
id: composer-cache
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: vendor
3333
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}-${{ matrix.prefer }}-
@@ -46,8 +46,14 @@ jobs:
4646
runs-on: ubuntu-latest
4747

4848
steps:
49+
# Master branch should be available for the linter
4950
- name: Checkout Code
50-
uses: actions/checkout@v2
51+
uses: actions/checkout@v4
52+
with:
53+
ref: master
54+
55+
- name: Checkout Code
56+
uses: actions/checkout@v4
5157

5258
- name: Install PHP
5359
uses: shivammathur/setup-php@v2
@@ -58,8 +64,10 @@ jobs:
5864
run: composer update --prefer-stable --prefer-dist --no-progress
5965

6066
- name: Lint Code
61-
uses: github/super-linter@v4
67+
uses: super-linter/super-linter@v7
6268
env:
6369
FILTER_REGEX_EXCLUDE: .*vendor.*
6470
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
VALIDATE_CHECKOV: false
72+
VALIDATE_JSCPD: false
6573
VALIDATE_PHP_PSALM: false

0 commit comments

Comments
 (0)