From 9228a393a4bbc046e496cb13ad9113f6333afc63 Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Thu, 28 Dec 2023 12:48:25 +0100 Subject: [PATCH] Reverted to actions/checkout@v3 to deal with old node versions Ref: https://github.com/actions/checkout/issues/1487 --- .github/workflows/build-deb.yml | 2 +- .github/workflows/build-nuget.yml | 2 +- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/clang-format.yml | 2 +- .github/workflows/clang-tidy.yml | 2 +- .github/workflows/cppcheck.yml | 2 +- .github/workflows/readme-updater.yml | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index c1f9cf770..cff419b5b 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: submodules: true path: cpr diff --git a/.github/workflows/build-nuget.yml b/.github/workflows/build-nuget.yml index 0d31958f3..df7bddf72 100644 --- a/.github/workflows/build-nuget.yml +++ b/.github/workflows/build-nuget.yml @@ -25,7 +25,7 @@ jobs: - name: Print Version run: echo "NuGet version will be '${{ env.RELEASE_VERSION }}'" - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: submodules: true - name: Setup NuGet.exe diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15a11fd22..cf7ef651b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: with: cmake-version: '3.22.x' - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -59,7 +59,7 @@ jobs: with: cmake-version: '3.22.x' - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -90,7 +90,7 @@ jobs: with: cmake-version: '3.22.x' - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -118,7 +118,7 @@ jobs: - name: Install Dependencies run: dnf install -y gcc clang git gcc gdb make openssl-devel libcurl-devel cmake - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -149,7 +149,7 @@ jobs: - name: Install Dependencies run: dnf install -y gcc clang git gcc gdb make openssl-devel libcurl-devel cmake - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -178,7 +178,7 @@ jobs: - name: Install Dependencies run: dnf install -y gcc clang git gcc gdb make openssl-devel libasan libubsan liblsan libtsan cmake - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -200,7 +200,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CMAKE_GENERATOR: "Visual Studio 17 2022" @@ -220,7 +220,7 @@ jobs: - name: Install OpenSSL run: choco install openssl -y - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CMAKE_GENERATOR: "Visual Studio 17 2022" @@ -247,7 +247,7 @@ jobs: export CPPFLAGS="-I/usr/local/opt/openssl@3/include" export PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig" - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -272,7 +272,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -291,7 +291,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON @@ -318,7 +318,7 @@ jobs: echo 'export PATH="/usr/local/opt/openssl@3/bin:$PATH"' >> /Users/runner/.bash_profile source ~/.bash_profile - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "Build & Test" env: CPR_BUILD_TESTS: ON diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index d4ee25086..cbbe1afc8 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -14,7 +14,7 @@ jobs: - name: Install clang-tidy run: sudo dnf install -y clang-tools-extra - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Check format uses: RafikFarhad/clang-format-github-action@3.2.0 with: diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 236594559..052465ef4 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -14,7 +14,7 @@ jobs: - name: Install clang-tidy run: sudo dnf install -y clang-tools-extra - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: "[Release g++] Build & Test" env: CPR_BUILD_TESTS: ON diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 390359023..7bb0fad92 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: submodules: true - name: Update package list diff --git a/.github/workflows/readme-updater.yml b/.github/workflows/readme-updater.yml index 6af790f8f..be6470c46 100644 --- a/.github/workflows/readme-updater.yml +++ b/.github/workflows/readme-updater.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: ref: ${{github.sha}} - name: "Replace GIT_TAG"