Skip to content

Commit

Permalink
Add SonarCloud (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmirgaleev authored Apr 10, 2023
1 parent 38ba2b5 commit 11dffc8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
name: SonarCloud
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
with:
args: >
-Dsonar.organization=baking-bad
-Dsonar.projectKey=baking-bad_netezos
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 11dffc8

Please sign in to comment.