From 71dd8992fa16ed274c188ceaa0939ff238160c96 Mon Sep 17 00:00:00 2001 From: Iliass Mahjoub Date: Sun, 25 Feb 2024 13:02:44 +0100 Subject: [PATCH] update sonar scanner version --- .github/workflows/hash_sha256_sonar.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/hash_sha256_sonar.yml b/.github/workflows/hash_sha256_sonar.yml index cd88c42..8dbb503 100644 --- a/.github/workflows/hash_sha256_sonar.yml +++ b/.github/workflows/hash_sha256_sonar.yml @@ -17,17 +17,19 @@ jobs: name: sonar-gcc-native runs-on: ubuntu-latest env: - SONAR_SCANNER_VERSION: 4.7.0.2747 + SONAR_SCANNER_VERSION: 5.0.1.3006 SONAR_SERVER_URL: "https://sonarcloud.io" BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed steps: - 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 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 11 + distribution: 'temurin' + java-version: '17' + overwrite-settings: true - name: Download and set up sonar-scanner env: SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip