sonarqube.yml

From wikieduonline
Revision as of 14:07, 12 April 2023 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Advertising: