diff --git a/.github/workflows/sonar-scanner.yml b/.github/workflows/sonar-scanner.yml index af844164c..52006bca8 100644 --- a/.github/workflows/sonar-scanner.yml +++ b/.github/workflows/sonar-scanner.yml @@ -20,6 +20,11 @@ jobs: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 submodules: recursive + - name: Set up JDK 11 + uses: actions/setup-java@v3 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java + with: + java-version: 17 + distribution: "temurin" - name: Install sonar-scanner and build-wrapper uses: sonarsource/sonarcloud-github-c-cpp@v1 - name: Run install_dependencies.sh script