Skip to content

Commit

Permalink
Add sonarcloud scanning to yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FayeSGW committed Apr 11, 2024
1 parent 0958ec5 commit 4bb2e9c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -386,3 +386,17 @@ jobs:
docker pull "${IMAGE_NAME}"
docker tag "${IMAGE_NAME}" cyberdojo/${{ env.SERVICE_NAME }}:latest
docker push cyberdojo/${{ env.SERVICE_NAME }}:latest
sonarcloud:
name: SonarCloud
needs: [kosli-trail]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.FAYE_SONAR_TOKEN }}

0 comments on commit 4bb2e9c

Please sign in to comment.