Skip to content

Commit 959119a

Browse files
authored
Update sonar-cloud-scan.yml -- update out of date actions (to actions/checkout@v4 and actions/cache@v4)
1 parent 5713a3e commit 959119a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ jobs:
4949
distribution: 'microsoft' # See 'Supported distributions' for available options
5050
java-version: '17'
5151

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

5858
# Speed-up analysis by caching the scanner workspace
5959
- name: SonarScan - Cache SonarCloud workspace
60-
uses: actions/cache@v1
60+
uses: actions/cache@v4
6161
with:
6262
path: ~\.sonar\cache
6363
key: ${{ runner.os }}-sonar-cache
@@ -66,7 +66,7 @@ jobs:
6666
# Speed-up analysis by caching the scanner installation
6767
- name: SonarScan - Cache SonarCloud scanner
6868
id: cache-sonar-scanner
69-
uses: actions/cache@v1
69+
uses: actions/cache@v4
7070
with:
7171
path: ${{env.SONAR_TOOL_PATH}}
7272
key: ${{ runner.os }}-sonar-scanner

0 commit comments

Comments
 (0)