Skip to content

Commit 3e3d3d2

Browse files
authored
FC-235 sets correct working directory for sonar (#170)
uses java 24
1 parent df67f2a commit 3e3d3d2

2 files changed

Lines changed: 3 additions & 38 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16-
- name: Set up JDK 17
16+
- name: Set up JDK 24
1717
uses: actions/setup-java@v4
1818
with:
19-
java-version: 17
19+
java-version: 24
2020
distribution: 'zulu' # Alternative distribution options are available.
2121
- name: Cache SonarQube packages
2222
uses: actions/cache@v4
@@ -31,6 +31,7 @@ jobs:
3131
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3232
restore-keys: ${{ runner.os }}-m2
3333
- name: Build and analyze
34+
working-directory: backend
3435
env:
3536
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3637
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=acunil_flashcards

backend/.github/workflows/build.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)