From 537b432455b6244a0871d5891a082d4f138b44ec Mon Sep 17 00:00:00 2001 From: Iliass Mahjoub Date: Sun, 25 Feb 2024 12:41:07 +0100 Subject: [PATCH 1/2] update all dates --- .github/workflows/hash_sha256.yml | 2 +- .github/workflows/hash_sha256_codecov.yml | 6 +++--- .github/workflows/hash_sha256_codeql.yml | 6 +++--- .github/workflows/hash_sha256_sonar.yml | 8 ++++---- hash_sha256/hash_sha256.h | 2 +- hash_sha256_test.cpp | 2 +- qemu_build/stm32f429.ld | 2 +- qemu_build/stm32f429_startup.cpp | 2 +- qemu_build/test_hash_sha256_emulator.py | 4 ++-- sonar-project.properties | 6 +++--- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/hash_sha256.yml b/.github/workflows/hash_sha256.yml index d998739..085b190 100644 --- a/.github/workflows/hash_sha256.yml +++ b/.github/workflows/hash_sha256.yml @@ -1,5 +1,5 @@ # ----------------------------------------------------- -# Copyright Iliass Mahjoub 2022 - 2023. +# Copyright Iliass Mahjoub 2022 - 2024. # Distributed under the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt # or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/.github/workflows/hash_sha256_codecov.yml b/.github/workflows/hash_sha256_codecov.yml index 51b9d5b..e887931 100644 --- a/.github/workflows/hash_sha256_codecov.yml +++ b/.github/workflows/hash_sha256_codecov.yml @@ -1,8 +1,8 @@ # ----------------------------------------------------- -# Copyright Iliass Mahjoub 2022 - 2023. -# Distributed under the Boost Software License, +# Copyright Iliass Mahjoub 2022 - 2024. +# Distributed under the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt -# or copy at http://www.boost.org/LICENSE_1_0.txt) +# or copy at http://www.boost.org/LICENSE_1_0.txt) # ----------------------------------------------------- name: hash_sha256_codecov diff --git a/.github/workflows/hash_sha256_codeql.yml b/.github/workflows/hash_sha256_codeql.yml index 6495eb1..185da0e 100644 --- a/.github/workflows/hash_sha256_codeql.yml +++ b/.github/workflows/hash_sha256_codeql.yml @@ -1,8 +1,8 @@ # ----------------------------------------------------- -# Copyright Iliass Mahjoub 2022 - 2023. -# Distributed under the Boost Software License, +# Copyright Iliass Mahjoub 2022 - 2024. +# Distributed under the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt -# or copy at http://www.boost.org/LICENSE_1_0.txt) +# or copy at http://www.boost.org/LICENSE_1_0.txt) # ----------------------------------------------------- name: "CodeQL" diff --git a/.github/workflows/hash_sha256_sonar.yml b/.github/workflows/hash_sha256_sonar.yml index f48a381..cd88c42 100644 --- a/.github/workflows/hash_sha256_sonar.yml +++ b/.github/workflows/hash_sha256_sonar.yml @@ -1,8 +1,8 @@ # ----------------------------------------------------- -# Copyright Iliass Mahjoub 2022 - 2023. -# Distributed under the Boost Software License, +# Copyright Iliass Mahjoub 2022 - 2024. +# Distributed under the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt -# or copy at http://www.boost.org/LICENSE_1_0.txt) +# or copy at http://www.boost.org/LICENSE_1_0.txt) # ----------------------------------------------------- name: hash_sha256_sonar @@ -33,7 +33,7 @@ jobs: SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip run: | mkdir -p $HOME/.sonar - curl -sSLo $HOME/.sonar/sonar-scanner.zip ${{ env.SONAR_SCANNER_DOWNLOAD_URL }} + curl -sSLo $HOME/.sonar/sonar-scanner.zip ${{ env.SONAR_SCANNER_DOWNLOAD_URL }} unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ echo "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin" >> $GITHUB_PATH - name: Download and set up build-wrapper diff --git a/hash_sha256/hash_sha256.h b/hash_sha256/hash_sha256.h index a56902b..1339a00 100644 --- a/hash_sha256/hash_sha256.h +++ b/hash_sha256/hash_sha256.h @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////// // // -// Copyright Iliass Mahjoub 2022 - 2023. // +// Copyright Iliass Mahjoub 2022 - 2024. // // Distributed under the Boost Software License, // // Version 1.0. (See accompanying file LICENSE_1_0.txt // // or copy at http://www.boost.org/LICENSE_1_0.txt) // diff --git a/hash_sha256_test.cpp b/hash_sha256_test.cpp index e4f2229..6c0f989 100644 --- a/hash_sha256_test.cpp +++ b/hash_sha256_test.cpp @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////// // // -// Copyright Iliass Mahjoub 2022 - 2023. // +// Copyright Iliass Mahjoub 2022 - 2024. // // Distributed under the Boost Software License, // // Version 1.0. (See accompanying file LICENSE_1_0.txt // // or copy at http://www.boost.org/LICENSE_1_0.txt) // diff --git a/qemu_build/stm32f429.ld b/qemu_build/stm32f429.ld index f6000f4..9514197 100644 --- a/qemu_build/stm32f429.ld +++ b/qemu_build/stm32f429.ld @@ -1,6 +1,6 @@ /* - Copyright Christopher Kormanyos 2007 - 2023. + Copyright Christopher Kormanyos 2007 - 2024. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/qemu_build/stm32f429_startup.cpp b/qemu_build/stm32f429_startup.cpp index e0fa91d..06ad231 100644 --- a/qemu_build/stm32f429_startup.cpp +++ b/qemu_build/stm32f429_startup.cpp @@ -1,4 +1,4 @@ -// Copyright Christopher Kormanyos 2007 - 2023. +// Copyright Christopher Kormanyos 2007 - 2024. // Distributed under the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/qemu_build/test_hash_sha256_emulator.py b/qemu_build/test_hash_sha256_emulator.py index 3f5af10..b3f36b8 100644 --- a/qemu_build/test_hash_sha256_emulator.py +++ b/qemu_build/test_hash_sha256_emulator.py @@ -4,8 +4,8 @@ # # Created: 21/09/2022 # -# Copyright: Copyright Iliass Mahjoub 2022 - 2023. -# Copyright Christopher Kormanyos 2007 - 2023. +# Copyright: Copyright Iliass Mahjoub 2022 - 2024. +# Copyright Christopher Kormanyos 2007 - 2024. # # Licence: Distributed under the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt diff --git a/sonar-project.properties b/sonar-project.properties index ae035ab..324b148 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,8 +1,8 @@ # ----------------------------------------------------- -# Copyright Iliass Mahjoub 2022 - 2023. -# Distributed under the Boost Software License, +# Copyright Iliass Mahjoub 2022 - 2024. +# Distributed under the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt -# or copy at http://www.boost.org/LICENSE_1_0.txt) +# or copy at http://www.boost.org/LICENSE_1_0.txt) # ----------------------------------------------------- sonar.projectKey=imahjoub_hash_sha256 From 71dd8992fa16ed274c188ceaa0939ff238160c96 Mon Sep 17 00:00:00 2001 From: Iliass Mahjoub Date: Sun, 25 Feb 2024 13:02:44 +0100 Subject: [PATCH 2/2] 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