Skip to content

Merge branch 'cloudfoundry:develop' into develop #7

Merge branch 'cloudfoundry:develop' into develop

Merge branch 'cloudfoundry:develop' into develop #7

Workflow file for this run

name: SonarCloud analysis
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:
permissions:
pull-requests: read # allows SonarCloud to decorate PRs with analysis results
jobs:
Sonar-Test-Analysis:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: '17'
cache: 'gradle'
- name: Analyze with SonarCloud
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
if: env.SONAR_TOKEN != ''
run: >-
./gradlew --no-daemon -Dspring.profiles.active=default,hsqldb -DfailOnPassedAfterRetry=false --no-daemon test jacocoTestReport || true;
./gradlew --no-daemon sonar;
./gradlew --no-daemon jacocoTestReport;