Sonarqube.yml

From wikieduonline
Revision as of 14:06, 12 April 2023 by Welcome (talk | contribs) (Created page with " name: Run Sonarqube on: push: branches: - main jobs: build: name: Run SonarQube runs-on: ubuntu-latest steps: - uses: actions/ch...")
(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

Advertising: