rector/.github/workflows/sonarcube.yaml
2020-02-01 14:10:45 +01:00

18 lines
542 B
YAML

name: SonarCube
on: push
jobs:
sonnar_cloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
# sonar needs non-shallow clone
fetch-depth: 10000
- uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# generate here: https://sonarcloud.io/account/security/
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}