Skip to content

Added sonarcube code scan job #1

Added sonarcube code scan job

Added sonarcube code scan job #1

Workflow file for this run

name: Code scan
on:
push:
branches:
- main
jobs:
code-scan:
name: Code scan
runs-on: ubuntu-latest
permissions: read-all
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}