From 00253666282bb6a0b7cad25ecd32b2685e546704 Mon Sep 17 00:00:00 2001 From: Oleg Kasyanov Date: Tue, 12 Nov 2024 22:24:21 +0400 Subject: [PATCH] Updated workflow configuration --- .github/workflows/analysis.yml | 4 ++-- .github/workflows/tests.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index fb194ef..f8c3d6c 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -12,7 +12,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' - name: Get composer cache directory id: composer-cache @@ -41,7 +41,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' - name: Get composer cache directory id: composer-cache diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f2e1b1e..38165b6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,7 @@ jobs: tests: strategy: matrix: - php-versions: [ '8.2', '8.3' ] + php-versions: [ '8.2', '8.3', '8.4' ] runs-on: ubuntu-latest @@ -38,12 +38,12 @@ jobs: run: composer install --no-progress --no-interaction - name: Test - if: matrix.php-versions != '8.2' + if: matrix.php-versions != '8.3' run: composer test continue-on-error: true - name: Test with Coverage - if: matrix.php-versions == '8.2' + if: matrix.php-versions == '8.3' working-directory: ./ run: | composer test-coverage @@ -51,7 +51,7 @@ jobs: sed -i 's/\/home\/runner\/work\/container\/container\//\/github\/workspace\//g' clover.xml - name: Scan code with SonarCloud - if: matrix.php-versions == '8.2' + if: matrix.php-versions == '8.3' uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -68,7 +68,7 @@ jobs: -Dsonar.php.coverage.reportPaths=clover.xml - name: Test with latest dependencies - if: matrix.php-versions == '8.2' + if: matrix.php-versions == '8.3' run: | composer update composer test