Skip to content

Commit

Permalink
sonarqube upd
Browse files Browse the repository at this point in the history
  • Loading branch information
rostilos committed May 27, 2024
1 parent f347f90 commit 9b84277
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install unzip
run: sudo apt-get install -y unzip

- name: Set up SonarQube scanner
run: |
wget -qO- https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472-linux.zip | sudo unzip -d /opt/
export PATH=/opt/sonar-scanner-4.6.2.2472-linux/bin:$PATH
- name: Identify modified files
id: modified_files
run: |
Expand All @@ -23,7 +31,6 @@ jobs:
echo "::set-output name=files::$MODIFIED_FILES"
- name: Run SonarQube analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_LOGIN: ${{ secrets.SONARQUBE_TOKEN }}
Expand Down

0 comments on commit 9b84277

Please sign in to comment.