From cfe2731dc4f3a4232a2734d6c7460d02411f0c34 Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 28 Dec 2023 22:51:48 +0530 Subject: [PATCH] Update CI config. --- .github/workflows/test.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 02b79604..8c230ceb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,7 +10,7 @@ jobs: coding-style: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: '7.4' @@ -25,13 +25,13 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['7.4', '8.0', '8.1', '8.2'] + php-version: ['7.4', '8.0', '8.1', '8.2', '8.3'] prefer-lowest: [''] include: - php-version: '7.2' prefer-lowest: 'prefer-lowest' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: @@ -49,23 +49,23 @@ jobs: - name: PHPUnit run: | - if [[ ${{ matrix.php-version }} == '8.0' ]]; then + if [[ ${{ matrix.php-version }} == '8.3' ]]; then vendor/bin/phpunit --verbose --coverage-clover=coverage.xml else vendor/bin/phpunit fi - name: Code Coverage Report - if: matrix.php-version == '8.0' + if: matrix.php-version == '8.3' uses: codecov/codecov-action@v3 psalm: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.3' extensions: gd, imagick tools: vimeo/psalm:5 - name: psalm