Skip to content

Commit

Permalink
Update sonar.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
grimley517 authored Mar 4, 2024
1 parent 0dbf7a6 commit 9d052b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ jobs:
name: Build and analyze
runs-on: windows-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v4.1
- name: Set up JDK 21
uses: actions/setup-java@v4.1.0
with:
java-version: 21
distribution: 'zulu' # Alternative distribution options are available.
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Cache SonarCloud packages
uses: actions/cache@v4.0
uses: actions/cache@v4.0.1
with:
path: ~\sonar\cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache SonarCloud scanner
id: cache-sonar-scanner
uses: actions/cache@v4.0
uses: actions/cache@v4.0.1
with:
path: .\.sonar\scanner
key: ${{ runner.os }}-sonar-scanner
Expand Down

0 comments on commit 9d052b4

Please sign in to comment.