Skip to content

[CHORE] Added SonarQube #1

[CHORE] Added SonarQube

[CHORE] Added SonarQube #1

Workflow file for this run

name: SonarQube
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@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }

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

View workflow run for this annotation

GitHub Actions / SonarQube

Invalid workflow file

The workflow is not valid. .github/workflows/sonarqube.yml (Line: 21, Col: 27): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
- uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}