rector/.github/workflows/sonarcube.yaml
2020-03-14 14:52:55 +01:00

21 lines
586 B
YAML

name: SonarCube
on:
push:
branches:
- master
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 }}