Files
vgui-cicd/.gitea/workflows/check_code_in_sonarqube.yaml
Adrian A. Baumann a81b6eb9d5
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 1m17s
Java mismatch in workflow
2025-12-02 11:17:52 +01:00

33 lines
763 B
YAML

on:
push:
branches:
- main
- development
pull_request:
types: [opened, synchronize, reopened]
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
# FIX: Add Java 17 setup before SonarQube scan
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: SonarQube Scan
uses: kitabisa/sonarqube-action@v1.2.0
with:
host: ${{ secrets.SONARQUBE_HOST }}
login: ${{ secrets.SONARQUBE_TOKEN }}