Skip to content

Commit

Permalink
edit SonarQube workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
meleksabit committed Sep 15, 2024
1 parent ab80740 commit b98f376
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
java-version: '11'
distribution: 'temurin'
java-package: 'jdk'

- name: Start SonarQube
run: |
docker run -d --name sonar-server -p 9000:9000 sonarqube
# Wait for SonarQube to be fully up
while ! curl -s http://localhost:9000/api/system/status | grep UP; do sleep 5; done
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@v2.3.0 # Latest version of SonarQube scan action
Expand Down

0 comments on commit b98f376

Please sign in to comment.