Files
ultimate-ee/.gitea/workflows/sonarqube.yml
root 656bdcedae
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 26s
add dhcp servers
2024-09-17 12:58:00 +02:00

31 lines
892 B
YAML

on:
push:
branches:
- main
# pull_request:
# types: [opened, synchronize, reopened]
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
# - run: apk add --no-cache nodejs docker
- name: Checking out
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@v2.1.0
env:
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
# with:
# host: ${{ secrets.SONARQUBE_HOST }}
# login: ${{ secrets.SONARQUBE_TOKEN }}