Skip to content

Commit

Permalink
Update the CI setup
Browse files Browse the repository at this point in the history
Add a job for PHP 8.3
Update actions to their latest version
  • Loading branch information
stof committed Dec 8, 2023
1 parent 416a55b commit 7058574
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -11,11 +11,11 @@ jobs:
name: Check composer.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.0'
php-version: '8.2'
- run: composer validate --strict --no-check-lock

tests:
Expand All @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php: [ '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
operating-system: [ ubuntu-latest ]
composer_flags: [ '' ]
include:
Expand All @@ -40,7 +40,7 @@ jobs:
steps:
- name: Prepare git # see https://github.com/actions/checkout/issues/226#issue-606867805
run: git config --global core.autocrlf false && git config --global core.eol lf
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
Expand All @@ -51,4 +51,3 @@ jobs:
- name: Upload code coverage
continue-on-error: true
run: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 comments on commit 7058574

Please sign in to comment.