Skip to content

Commit 1b0dab4

Browse files
committed
revert
1 parent 08609b8 commit 1b0dab4

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,6 @@ jobs:
4949
- name: Install dependencies
5050
run: bundle install
5151

52-
- name: SonarQube Scan (Pull Request)
53-
if: matrix.version == '3.2.2' && github.event_name == 'pull_request'
54-
uses: SonarSource/[email protected]
55-
env:
56-
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
57-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
with:
59-
projectBaseDir: .
60-
args: >
61-
-Dsonar.java.source=17
62-
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
63-
-Dsonar.projectVersion=${{ env.VERSION }}
64-
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
65-
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
66-
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
67-
6852
- name: Run tests
6953
run: bundle exec rake
7054

@@ -89,3 +73,18 @@ jobs:
8973
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
9074
-Dsonar.projectVersion=${{ env.VERSION }}
9175
76+
- name: SonarQube Scan (Pull Request)
77+
if: matrix.version == '3.2.2' && github.event_name == 'pull_request'
78+
uses: SonarSource/[email protected]
79+
env:
80+
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82+
with:
83+
projectBaseDir: .
84+
args: >
85+
-Dsonar.java.source=17
86+
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
87+
-Dsonar.projectVersion=${{ env.VERSION }}
88+
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
89+
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
90+
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}

0 commit comments

Comments
 (0)