Skip to content

Update main.yml to sonarqube.yml for actio name #1

Update main.yml to sonarqube.yml for actio name

Update main.yml to sonarqube.yml for actio name #1

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/sonarqube.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sonarqube.yml

Invalid workflow file

(Line: 22, Col: 9): Unexpected value 'args'
on:
push:
branches:
- master
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
args: >
-Dsonar.projectKey=ComputerScienceHouse_audiophiler_abf74f4d-218d-4ab2-938b-cde83b7e1800