chore: add Sonar analysis
Some checks failed
Publish Docker Images / build-and-publish (push) Has been cancelled

This commit is contained in:
2025-11-16 01:31:19 +01:00
parent 0b60e67e19
commit a65a418b64
3 changed files with 26 additions and 0 deletions

View File

@@ -39,6 +39,16 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: ${{ github.event_name == 'pull_request' }}
- name: Coverage
run: |
nix develop --no-pure-eval --command just coverage
- name: Sonar analysis
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
- name: Build Docker image with Nix
run: |
echo "Building Docker image..."