Skip to content

Merge pull request #2280 from Waffle/renovate/checkstyle.version #231

Merge pull request #2280 from Waffle/renovate/checkstyle.version

Merge pull request #2280 from Waffle/renovate/checkstyle.version #231

Workflow file for this run

name: SonarCloud
on:
push:
branches:
- master
jobs:
build:
if: github.repository_owner == 'waffle'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: zulu
- name: Analyze with SonarCloud
run: ./mvnw verify jacoco:report sonar:sonar -B -V -D"sonar.projectKey=Waffle_waffle" -D"sonar.organization=waffle" -D"sonar.host.url=https://sonarcloud.io" -D"sonar.token=$SONAR_TOKEN" -D"license.skip=true" --no-transfer-progress
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}