From e03195c9b145cd2f5a571daf3a782d7d4391a057 Mon Sep 17 00:00:00 2001 From: wkoot <3715211+wkoot@users.noreply.github.com> Date: Tue, 2 Sep 2025 09:49:18 +0200 Subject: [PATCH] Bump sonarqube-scan-action to v5 (#73) --- .github/workflows/docker-image.yml | 3 +-- sonar-project.properties | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 332ef78..a842e64 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -35,7 +35,6 @@ jobs: - name: Sonar scan if: env.SONAR_TOKEN != null - uses: SonarSource/sonarqube-scan-action@v4 + uses: SonarSource/sonarqube-scan-action@v5 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/sonar-project.properties b/sonar-project.properties index 94068c7..43dc68d 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -6,6 +6,8 @@ sonar.projectVersion=1.8.2 # Path is relative to the sonar-project.properties file sonar.sources=netbox_slm +sonar.exclusions=netbox_slm/tests/** +sonar.tests=netbox_slm/tests sonar.python.version=3.11, 3.12, 3.13 # Python test reports