Skip to content

Commit

Permalink
chore(actions): remove sonarqube (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-lx authored Mar 19, 2024
1 parent 3593c2c commit daa11c3
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/sonarqube.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
#name: SonarQube
name: SonarQube



#on:
# push:
# branches:
# - master
on:
push:
branches:
- master



#jobs:
# sonarqube:
# name: SonarQube
# runs-on: ubuntu-22.04
jobs:
sonarqube:
name: SonarQube
runs-on:
- ubuntu-22.04

# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

# - name: SonarQube file
# run: |
# echo "sonar.projectKey=${{ github.event.repository.name }}" > sonar-project.properties
- name: SonarQube file
run: |
echo "sonar.projectKey=${{ github.event.repository.name }}" > sonar-project.properties
# - name: SonarQube Scan
# uses: sonarsource/[email protected]
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
- name: SonarQube Scan
uses: sonarsource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

0 comments on commit daa11c3

Please sign in to comment.