dj_mix_hosting_software/.gitea/workflows/sonarqube.yaml
Cody Cook 4a5e5d224a
All checks were successful
SonarQube Scan / SonarQube Trigger (push) Successful in 29s
PHPUnit removal?
2024-05-14 17:58:39 -07:00

28 lines
773 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:
- name: Checking out
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONARQUBE_USER_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
with:
args: >
-Dsonar.projectVersion=1.0.0
-Dsonar.projectKey=${{ secrets.SONARQUBE_PROJECT_KEY }}