Skip to content

Implement SonarCloud integrations #41

Implement SonarCloud integrations

Implement SonarCloud integrations #41

Workflow file for this run

name: SonarCloud
on:
workflow_dispatch:
# workflow_run:
# workflows: ["Pre-commit checks"]
# # branches: [main]
# types: [completed]
# push:
pull_request:
jobs:
# pre-commit-run:
# uses: minvws/nl-kat-coordination/.github/workflows/pre_commit_checks.yml@feature/sonar-cloud
octopoes-tests:
uses: minvws/nl-kat-coordination/.github/workflows/octopoes-tests.yml@feature/sonar-cloud
sonar-cloud:
runs-on: ubuntu-latest
# needs: pre-commit-run
needs: octopoes-tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download artifacts
uses: actions/download-artifact@v4
- name: SonarCloud
uses: SonarSource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
projectBaseDir: .