Skip to content

add sonarscan

add sonarscan #1

Workflow file for this run

name: SonarCloud-Scan
on:
push:
branches:
- develop
jobs:
sonarcloud_scan:
runs-on: ubuntu-latest
steps:
- name: Code Clone
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '17'
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}