Skip to content

Commit 01f5493

Browse files
committed
patch vulnerability
1 parent 1b89c20 commit 01f5493

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/sonar.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up JDK 21
2222
uses: actions/setup-java@v4
2323
with:
24-
java-version: 21
24+
java-version: 21
2525
distribution: "temurin"
2626
- name: Cache SonarQube packages
2727
uses: actions/cache@v4
@@ -41,7 +41,6 @@ jobs:
4141
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
4242
run: |
4343
cd server/
44-
./scripts/createServerKeys.sh
4544
./gradlew build sonar --info
4645
sonarQubeFrontend:
4746
name: sonarQube Frontend
@@ -59,7 +58,7 @@ jobs:
5958
cd frontend
6059
pnpm run coverage
6160
- name: Scan Frontend
62-
uses: sonarsource/sonarqube-scan-action@master
61+
uses: SonarSource/sonarqube-scan-action@v5.3.1
6362
env:
6463
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_FRONTEND }} # analysis token associated to your project
6564
SONAR_HOST_URL: ${{ secrets.SONAR_HOST }}
@@ -72,10 +71,10 @@ jobs:
7271
- uses: actions/checkout@v4
7372
with:
7473
fetch-depth: 0
75-
- name: Set up JDK 17
74+
- name: Set up JDK 21
7675
uses: actions/setup-java@v4
7776
with:
78-
java-version: 17
77+
java-version: 21
7978
distribution: "temurin"
8079
- name: Cache SonarQube packages
8180
uses: actions/cache@v4

screenshot/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
id 'org.jetbrains.kotlin.plugin.spring' version '1.8.10' // For Spring support
1111
id 'org.springframework.boot' version '3.2.4' // Adjust the Spring Boot version as needed
1212
id 'io.spring.dependency-management' version '1.1.0' // For dependency management
13-
id 'org.sonarqube' version '5.1.0.4882'
13+
id 'org.sonarqube' version '5.3.1'
1414
id 'jacoco'
1515
id 'application'
1616
id "com.diffplug.spotless" version "6.19.0"

server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
id 'application'
88
id 'org.springframework.boot' version '3.4.5'
99
id 'io.spring.dependency-management' version '1.1.7'
10-
id "org.sonarqube" version "5.1.0.4882"
10+
id "org.sonarqube" version "5.3.1"
1111
id "com.diffplug.spotless" version "6.19.0"
1212
id "org.flywaydb.flyway" version "10.1.0"
1313
id 'java'

0 commit comments

Comments
 (0)