Skip to content

Commit b8f0611

Browse files
ricklambrechtsppvg
andauthored
Update CI to use new sonarcube action (#57)
* Update CI to use new sonarcube action * Update .github/workflows/ci.yml Co-authored-by: Peter-Paul van Gemerden <[email protected]> * Update .github/workflows/ci.yml Co-authored-by: Peter-Paul van Gemerden <[email protected]> * Only run sonarqube 1 time --------- Co-authored-by: Peter-Paul van Gemerden <[email protected]>
1 parent 8e668d7 commit b8f0611

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
LATEST_SUPPORTED_PHP_VERSION: 8.4
13+
LATEST_SUPPORTED_LARAVEL_VERSION: 12.*
1314

1415
jobs:
1516
run-tests:
@@ -79,7 +80,7 @@ jobs:
7980
run: vendor/bin/phpcs
8081

8182
- name: 'Run SonarQube cloud scanner'
82-
if: ${{ matrix.php == env.LATEST_SUPPORTED_PHP_VERSION }}
83-
uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main
83+
if: ${{ matrix.php == env.LATEST_SUPPORTED_PHP_VERSION && matrix.laravel == env.LATEST_SUPPORTED_LARAVEL_VERSION }}
84+
uses: minvws/action-sonarqube@v1
8485
with:
8586
sonar-token: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)