mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
21 lines
586 B
YAML
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 }}
|