Skip to content

Commit

Permalink
Upgrade Github Actions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jdecool committed Nov 11, 2024
1 parent e720fff commit f96a221
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:

strategy:
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
prefer: [ 'lowest', 'stable' ]

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

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -27,7 +27,7 @@ jobs:

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

steps:
# Master branch should be available for the linter
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: master

- name: Checkout Code
uses: actions/checkout@v4

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

- name: Lint Code
uses: github/super-linter@v4
uses: super-linter/super-linter@v7
env:
FILTER_REGEX_EXCLUDE: .*vendor.*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_CHECKOV: false
VALIDATE_JSCPD: false
VALIDATE_PHP_PSALM: false

0 comments on commit f96a221

Please sign in to comment.