This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new efb489fa ci: update github actions (#2584)
efb489fa is described below

commit efb489fa0528f0fdae532c0539592d3d62e16d50
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Sun Oct 6 22:53:38 2024 +0300

    ci: update github actions (#2584)
---
 .github/workflows/kvrocks.yaml                           | 11 ++++++-----
 .github/workflows/sonar.yaml                             |  2 +-
 src/types/geohash.cc                                     |  2 +-
 tests/gocase/integration/slotmigrate/slotmigrate_test.go |  4 ++--
 4 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 4814ca54..a203f892 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -40,7 +40,7 @@ jobs:
       docs_only: ${{ steps.result.outputs.docs_only }}
     steps:
       - uses: actions/checkout@v4
-      - uses: dorny/[email protected]
+      - uses: dorny/paths-filter@v3
         id: changes
         with:
           filters: .github/config/changes.yml
@@ -58,7 +58,7 @@ jobs:
     steps:
       - uses: actions/checkout@v4
       - name: Check typos
-        uses: crate-ci/[email protected]
+        uses: crate-ci/[email protected]
         with:
           config: .github/config/typos.toml
 
@@ -204,11 +204,12 @@ jobs:
     runs-on: ${{ matrix.os }}
     env:
       SONARCLOUD_OUTPUT_DIR: sonarcloud-data
+      FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true
     steps:
       - name: Setup macOS
         if: ${{ startsWith(matrix.os, 'macos') }}
         run: |
-          brew install cmake gcc autoconf automake libtool openssl coreutils
+          brew install --quiet --formula cmake gcc autoconf automake libtool 
openssl coreutils
           echo "NPROC=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
           echo "CMAKE_EXTRA_DEFS=-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl" >> 
$GITHUB_ENV
       - name: Setup Linux
@@ -486,7 +487,7 @@ jobs:
 
       - name: Cache redis
         id: cache-redis
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: |
             ~/local/bin/redis-cli
@@ -494,7 +495,7 @@ jobs:
 
       - name: Cache redis server
         id: cache-redis-server
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: |
             ~/local/bin/redis-server
diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml
index e47564ee..d9ad8fef 100644
--- a/.github/workflows/sonar.yaml
+++ b/.github/workflows/sonar.yaml
@@ -34,7 +34,7 @@ jobs:
           ref: ${{ github.event.workflow_run.head_sha }}
           fetch-depth: 0
       - name: Install sonar-scanner and build-wrapper
-        uses: SonarSource/sonarcloud-github-c-cpp@v2
+        uses: SonarSource/sonarcloud-github-c-cpp@v3
       - name: 'Download code coverage'
         uses: actions/github-script@v7
         with:
diff --git a/src/types/geohash.cc b/src/types/geohash.cc
index c182b294..893bb89a 100644
--- a/src/types/geohash.cc
+++ b/src/types/geohash.cc
@@ -43,7 +43,7 @@ constexpr double D_R = M_PI / 180.0;
 
 // @brief The usual PI/180 constant
 // const double DEG_TO_RAD = 0.017453292519943295769236907684886;
-// @brief Earth's quatratic mean radius for WGS-84
+// @brief Earth's quadratic mean radius for WGS-84
 const double EARTH_RADIUS_IN_METERS = 6372797.560856;
 
 const double MERCATOR_MAX = 20037726.37;
diff --git a/tests/gocase/integration/slotmigrate/slotmigrate_test.go 
b/tests/gocase/integration/slotmigrate/slotmigrate_test.go
index a0cd1f86..d1ddbb3d 100644
--- a/tests/gocase/integration/slotmigrate/slotmigrate_test.go
+++ b/tests/gocase/integration/slotmigrate/slotmigrate_test.go
@@ -747,7 +747,7 @@ func TestSlotMigrateDataType(t *testing.T) {
                require.EqualValues(t, originRes.Length, migratedRes.Length)
        }
 
-       migrateStreamWithDeletedEnties := func(t *testing.T, migrateType 
SlotMigrationType) {
+       migrateStreamWithDeletedEntries := func(t *testing.T, migrateType 
SlotMigrationType) {
                require.NoError(t, rdb0.ConfigSet(ctx, "migrate-type", 
string(migrateType)).Err())
 
                testSlot += 1
@@ -961,7 +961,7 @@ func TestSlotMigrateDataType(t *testing.T) {
                })
 
                t.Run(fmt.Sprintf("MIGRATE - Migrating stream with deleted 
entries using %s", testType), func(t *testing.T) {
-                       migrateStreamWithDeletedEnties(t, testType)
+                       migrateStreamWithDeletedEntries(t, testType)
                })
 
                t.Run(fmt.Sprintf("MIGRATE - Migrate incremental data via 
parsing and filtering data in WAL using %s", testType), func(t *testing.T) {

Reply via email to