From 3adb312e490d261b1d5ac3b0f19fd08f176309fe Mon Sep 17 00:00:00 2001 From: Mark Hammons Date: Wed, 24 May 2023 13:14:43 +0200 Subject: [PATCH 1/3] Update sonar-project.properties --- sonar-project.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonar-project.properties b/sonar-project.properties index a88ae86..4654e0e 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,3 +1,6 @@ +sonar.projectKey=markehammons_slinc +sonar.organization=scalable-solutions + sonar.scala.version=3 core.sonar.projectBaseDir=core core.sonar.sources=src/ From ad68a3fbf66d257d4b6da85c2fb2a74f76a35ddb Mon Sep 17 00:00:00 2001 From: Mark Hammons Date: Wed, 24 May 2023 13:17:10 +0200 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdb4452..20df044 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,7 @@ jobs: with: jvm: temurin:1.17 apps: mill - - run: mill mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources - + - run: mill mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources unit-tests: strategy: matrix: @@ -93,4 +92,11 @@ jobs: uses: codecov/codecov-action@v3 with: directory: reports - flags: ${{ matrix.os }} \ No newline at end of file + flags: ${{ matrix.os }} + + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + From 41ac2b014bde97ca2ecdaef6c617bfff4c89db6b Mon Sep 17 00:00:00 2001 From: Mark Hammons Date: Wed, 24 May 2023 13:21:13 +0200 Subject: [PATCH 3/3] Update sonar-project.properties --- sonar-project.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/sonar-project.properties b/sonar-project.properties index 4654e0e..f02db0a 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,6 @@ sonar.projectKey=markehammons_slinc sonar.organization=scalable-solutions +sonar.projectName=slinc sonar.scala.version=3 core.sonar.projectBaseDir=core