Skip to content

Commit 2b23605

Browse files
authored
Update sonar-cloud-scan-stage.yml -- update to match changes already put in place for production
1 parent 959119a commit 2b23605

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/sonar-cloud-scan-stage.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@ jobs:
4646
steps:
4747
#Set up Java which is needed for SonarScan post processing step
4848
- name: Setup Java JDK
49-
uses: actions/setup-java@v3.4.0
49+
uses: actions/setup-java@v4.2.1
5050
with:
5151
distribution: 'microsoft' # See 'Supported distributions' for available options
52-
java-version: '11'
52+
java-version: '17'
5353

54-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v4
5555
with:
5656
# Shallow clones should be disabled for a better relevancy of analysis
5757
fetch-depth: 0
5858
submodules: true
5959

6060
# Speed-up analysis by caching the scanner workspace
6161
- name: SonarScan - Cache SonarCloud workspace
62-
uses: actions/cache@v1
62+
uses: actions/cache@v4
6363
with:
6464
path: ~\.sonar\cache
6565
key: ${{ runner.os }}-sonar-cache
@@ -68,7 +68,7 @@ jobs:
6868
# Speed-up analysis by caching the scanner installation
6969
- name: SonarScan - Cache SonarCloud scanner
7070
id: cache-sonar-scanner
71-
uses: actions/cache@v1
71+
uses: actions/cache@v4
7272
with:
7373
path: ${{env.SONAR_TOOL_PATH}}
7474
key: ${{ runner.os }}-sonar-scanner

0 commit comments

Comments
 (0)