From 70585742451e621cd3b53536f916c86f3cb966f2 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Fri, 8 Dec 2023 14:01:18 +0100 Subject: [PATCH] Update the CI setup Add a job for PHP 8.3 Update actions to their latest version --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b72641..89fbce0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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: @@ -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 }}" @@ -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 -