From a09e5344b88852a986d2822b291c8c20d505fe77 Mon Sep 17 00:00:00 2001 From: soup-bowl Date: Wed, 9 Oct 2024 20:54:13 +0100 Subject: [PATCH] Added SonarQube. --- .github/workflows/build-beta.yml | 7 +++++++ sonar-project.properties | 1 + 2 files changed, 8 insertions(+) create mode 100644 sonar-project.properties diff --git a/.github/workflows/build-beta.yml b/.github/workflows/build-beta.yml index 1dbd2b7..8fc0df9 100644 --- a/.github/workflows/build-beta.yml +++ b/.github/workflows/build-beta.yml @@ -32,6 +32,13 @@ jobs: steps: - name: Checkout Codebase uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: sonarsource/sonarqube-scan-action@v3 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - name: Login to GitHub CR uses: docker/login-action@v3 diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..b3e7fc6 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=soup-bowl_opensimulator-docker_1e7d136b-4f24-4c29-9850-3f3010362b8d