Skip to content

fix: test sonar.yml

fix: test sonar.yml #2

Workflow file for this run

name: SonarQube Analysis
on:
workflow_run:
workflows: [React Template CI]
types:
- requested
jobs:
sonar-analysis:
name: SonarQube Analysis
runs-on: ubuntu-latest
steps:

Check failure on line 13 in .github/workflows/sonar.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sonar.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- name: Checkout code
uses: actions/checkout@v2
-name: Echo to test
run: echo "Hello World"
# - name: Download code coverage artifact
# uses: actions/download-artifact@v2
# with:
# name: coverage
# path: coverage/lcov.info
# - name: SonarQube Scan
# uses: sonarsource/sonarqube-scan-action@master
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}