diff --git a/.github/workflows/sonar-source.yml b/.github/workflows/sonar-source.yml index d27a969c2..e8cd3c320 100644 --- a/.github/workflows/sonar-source.yml +++ b/.github/workflows/sonar-source.yml @@ -15,8 +15,6 @@ jobs: name: Sonar Source Analysis runs-on: ubuntu-20.04 env: - SONAR_SCANNER_VERSION: 4.6.1.2450 # Find the latest version in the "Linux" link on this page: - # https://sonarcloud.io/documentation/analysis/scan/sonarscanner/ SONAR_SERVER_URL: "https://sonarcloud.io" BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed steps: @@ -24,12 +22,8 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - name: Install sonar-scanner and build-wrapper - uses: SonarSource/sonarcloud-github-c-cpp@v1 + uses: SonarSource/sonarcloud-github-c-cpp@v2 - name: Install dependencies run: | sudo apt-get update