Skip to content

SonarQube

SonarQube #880

Workflow file for this run

#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: "SonarQube"
on:
schedule:
- cron: '0 0 * * *'
jobs:
sonar-report:
if: ${{ startsWith(github.repository, 'clickhouse/') }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
cache: gradle
- run: >-
./gradlew sonarqube
-Dsonar.projectKey=spark-clickhouse-connector
-Dsonar.host.url=${{ secrets.SONAR_URL }}
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-PmavenCentralMirror=https://maven-central.storage-download.googleapis.com/maven2/