sonarqube.yml

From wikieduonline
Jump to navigation Jump to search

name: Run Sonarqube
on:
  push:
    branches:
      - main
jobs:
  build:
    name: Run SonarQube
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - uses: sonarsource/sonarqube-scan-action@master
        env:
          SONAR_TOKEN: $Template:Secrets.SONAR TOKEN
          SONAR_HOST_URL: $Template:Secrets.SONAR HOST URL
        with:
          args: >
            -Dsonar.verbose=true


See also[edit]

Advertising: