diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d392daf..50a61ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ on: tags: [ v* ] pull_request: +env: + LATEST_SUPPORTED_PHP_VERSION: 8.4 + jobs: run-tests: runs-on: ubuntu-24.04 @@ -74,8 +77,9 @@ jobs: - name: Coding style PSR12 Check run: vendor/bin/phpcs - + - name: 'Run SonarQube cloud scanner' + if: ${{ matrix.php == env.LATEST_SUPPORTED_PHP_VERSION }} uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main with: sonar-token: ${{ secrets.SONAR_TOKEN }}