From c58eb4271ac8afe3ac84df47fc8d2d7de9f9509a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Svensson?= Date: Mon, 18 Mar 2024 10:46:54 +0100 Subject: [PATCH] CI updates - Fix Github CI warnings regarding use of Nodejs 16. - Add Redis 7.2 to compatibility testing. - Use latest patch versions of Redis in compatibility testing. --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/coverity.yml | 2 +- .github/workflows/redis_compability.yml | 9 +++++---- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6341849..259dd1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: name: Run static checkers runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run clang-format style check (.c and .h) uses: jidicula/clang-format-action@v4.6.2 @@ -53,10 +53,10 @@ jobs: cmake -S hiredis-${VERSION} -B hiredis-build -DENABLE_SSL=ON sudo make -C hiredis-build install - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1 + uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: ${{ matrix.cmake-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create build folder run: cmake -E make_directory build - name: Generate makefiles @@ -102,7 +102,7 @@ jobs: - name: Prepare run: | brew install cmake ninja openssl - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: | mkdir build && cd build @@ -113,7 +113,7 @@ jobs: name: Windows runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 - name: Prepare run: | @@ -129,7 +129,7 @@ jobs: name: Windows (MinGW64) runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up MinGW uses: msys2/setup-msys2@v2 with: diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index aaf219d..9f52b4d 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/.github/workflows/redis_compability.yml b/.github/workflows/redis_compability.yml index 6d579d6..88fbf6f 100644 --- a/.github/workflows/redis_compability.yml +++ b/.github/workflows/redis_compability.yml @@ -10,9 +10,10 @@ jobs: fail-fast: false matrix: include: - - redis-version: 7.0.0 - - redis-version: 6.2.7 - - redis-version: 6.0.16 + - redis-version: 7.2.4 + - redis-version: 7.0.15 + - redis-version: 6.2.14 + - redis-version: 6.0.20 - redis-version: 5.0.14 steps: - name: Prepare @@ -21,7 +22,7 @@ jobs: packages: libevent-dev version: 1.0 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create build folder run: cmake -E make_directory build