diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml index 4814ca5429a..a203f892d0d 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/paths-filter@v3.0.0 + - 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/typos@v1.22.9 + uses: crate-ci/typos@v1.25.0 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 e47564eebec..d9ad8feffa7 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 c182b2942dc..893bb89aa02 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 a0cd1f86269..d1ddbb3d6a8 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) {