Create sonarsource.yml

This commit is contained in:
Shohei Ueda 2019-11-13 12:31:05 +09:00 committed by GitHub
parent eb85852ce3
commit f9f32a0dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
.github/workflows/sonarsource.yml vendored Normal file
View 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 }}