Create sonarsource.yml
This commit is contained in:
parent
eb85852ce3
commit
f9f32a0dc2
1 changed files with 19 additions and 0 deletions
19
.github/workflows/sonarsource.yml
vendored
Normal file
19
.github/workflows/sonarsource.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Sonar Cloud
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sonarcloud:
|
||||||
|
name: SonarCloud Trigger
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- name: SonarCloud Scan
|
||||||
|
uses: sonarsource/sonarcloud-github-action@master
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue