diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 399dc5f..3f8df9a 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -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