Skip to content

TEST: sonarqube gh action #4

TEST: sonarqube gh action

TEST: sonarqube gh action #4

Workflow file for this run

name: Build
on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches:
- main
- '**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarqube:
nanme: sonarqube-analize

Check failure on line 14 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 14, Col: 5): Unexpected value 'nanme'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clones is recommended for improving the relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: SonarSource/[email protected] # Ex: v4.1.0, See the latest version at https://github.com/marketplace/actions/official-sonarqube-scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}