Skip to content

Merge pull request #4 from jescarri/test/sonarqube #12

Merge pull request #4 from jescarri/test/sonarqube

Merge pull request #4 from jescarri/test/sonarqube #12

Workflow file for this run

name: Build
on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches:
- main
- '**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarqube:
name: sonarqube-analize
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clones is recommended for improving the relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: SonarSource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}