rector/.github/workflows/sonarcube.yaml

18 lines
542 B
YAML
Raw Normal View History

2020-01-25 18:34:58 +01:00
name: SonarCube
on: push
jobs:
sonnar_cloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
2020-01-28 00:09:19 +01:00
with:
# sonar needs non-shallow clone
fetch-depth: 10000
2020-01-25 18:34:58 +01:00
- uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020-02-01 14:10:45 +01:00
# generate here: https://sonarcloud.io/account/security/
2020-01-25 18:34:58 +01:00
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}