1
0
sssd-configuration/.gitea/workflows/sonar-scanner.yaml
Florian Zumpe a01527d2b0
Some checks failed
Sonarqube Scanner / Build and analyze (push) Failing after 16s
.gitea/workflows/sonar-scanner.yaml aktualisiert
2026-06-03 15:36:46 +02:00

31 lines
937 B
YAML

name: Sonarqube Scanner
on:
push:
branches:
- main
jobs:
build:
name: Build and analyze
runs-on: docker
steps:
- uses: actions/setup-java@v5
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '25'
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: SonarSource/sonarqube-scan-action@v8
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: SonarSource/sonarqube-quality-gate-action@v1
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}