This is an automated email from the ASF dual-hosted git repository.
hulk 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 d09cdc129 chore(ci): bump all used actions to latest (#3383)
d09cdc129 is described below
commit d09cdc12946803691fe949f76dbc916ad8cec86a
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Thu Mar 5 04:35:51 2026 +0200
chore(ci): bump all used actions to latest (#3383)
---
.github/workflows/kvrocks.yaml | 34 +++++++++++++++++-----------------
.github/workflows/nightly.yaml | 10 +++++-----
.github/workflows/pr-lint.yaml | 2 +-
.github/workflows/sonar.yaml | 10 +++++-----
4 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 735021640..1322b8553 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -39,7 +39,7 @@ jobs:
outputs:
docs_only: ${{ steps.result.outputs.docs_only }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
id: changes
with:
@@ -56,7 +56,7 @@ jobs:
env:
FORCE_COLOR: 1
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Check typos
uses: crate-ci/[email protected]
with:
@@ -71,8 +71,8 @@ jobs:
if: ${{ needs.precondition.outputs.docs_only != 'true' }}
runs-on: ubuntu-24.04
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-go@v5
+ - uses: actions/checkout@v6
+ - uses: actions/setup-go@v6
with:
go-version-file: 'tests/gocase/go.mod'
cache: false
@@ -96,7 +96,7 @@ jobs:
git diff -p > clang-format.patch
cat clang-format.patch
- name: Upload format patch
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always() && steps.check-format.outcome != 'success'
with:
path: clang-format.patch
@@ -291,14 +291,14 @@ jobs:
- name: Cache redis
id: cache-redis
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/local/bin/redis-cli
key: ${{ runner.os }}-${{ runner.arch }}-redis-cli
- name: Cache redis server
id: cache-redis-server
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/local/bin/redis-server
@@ -312,14 +312,14 @@ jobs:
pushd redis-6.2.14 && BUILD_TLS=yes make -j$NPROC redis-cli && mv
src/redis-cli $HOME/local/bin/ && popd
pushd redis-6.2.14 && BUILD_TLS=yes make -j$NPROC redis-server && mv
src/redis-server $HOME/local/bin/ && popd
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
fetch-depth: 0
- - uses: actions/setup-python@v5
+ - uses: actions/setup-python@v6
if: ${{ !matrix.arm_linux }}
with:
python-version: 3.x
- - uses: actions/setup-go@v5
+ - uses: actions/setup-go@v6
with:
go-version-file: 'tests/gocase/go.mod'
cache: false
@@ -425,7 +425,7 @@ jobs:
exit 1
fi
- - uses: actions/upload-artifact@v4
+ - uses: actions/upload-artifact@v7
if: ${{ failure() && startsWith(matrix.os, 'ubuntu') }}
with:
name: kvrocks-coredumps-${{ matrix.name }}
@@ -447,7 +447,7 @@ jobs:
- name: Upload SonarCloud data
if: ${{ matrix.sonarcloud }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: sonarcloud-data
path: |
@@ -463,7 +463,7 @@ jobs:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Get core numbers
run: echo "NPROC=$(nproc)" >> $GITHUB_ENV
- uses: docker/build-push-action@v6
@@ -591,7 +591,7 @@ jobs:
- name: Cache redis
id: cache-redis
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/local/bin/redis-cli
@@ -599,7 +599,7 @@ jobs:
- name: Cache redis server
id: cache-redis-server
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/local/bin/redis-server
@@ -615,8 +615,8 @@ jobs:
pushd redis-6.2.14 && USE_JEMALLOC=no make -j$NPROC redis-cli && mv
src/redis-cli $HOME/local/bin/ && popd
pushd redis-6.2.14 && USE_JEMALLOC=no make -j$NPROC redis-server &&
mv src/redis-server $HOME/local/bin/ && popd
- - uses: actions/checkout@v4
- - uses: actions/setup-go@v5
+ - uses: actions/checkout@v6
+ - uses: actions/setup-go@v6
if: ${{ !startsWith(matrix.image, 'opensuse') }}
with:
go-version-file: 'tests/gocase/go.mod'
diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml
index e927a201f..561fd2b15 100644
--- a/.github/workflows/nightly.yaml
+++ b/.github/workflows/nightly.yaml
@@ -42,7 +42,7 @@ jobs:
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
fetch-depth: 0
@@ -60,7 +60,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
- uses: docker/setup-qemu-action@v3
+ uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -82,7 +82,7 @@ jobs:
touch "${{ runner.temp }}/digests/${digest#sha256:}"
- name: Upload digest
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: ${{ github.event_name != 'pull_request' }}
with:
name: digests-${{ env.PLATFORM_PAIR }}
@@ -98,14 +98,14 @@ jobs:
- build
steps:
- name: Download digests
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true
- name: Login to Docker Hub
- uses: docker/login-action@v3
+ uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml
index 53b3523b0..87c93ae8b 100644
--- a/.github/workflows/pr-lint.yaml
+++ b/.github/workflows/pr-lint.yaml
@@ -32,7 +32,7 @@ jobs:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- - uses: amannn/action-semantic-pull-request@v5
+ - uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml
index d7b5c3be2..9837bb47c 100644
--- a/.github/workflows/sonar.yaml
+++ b/.github/workflows/sonar.yaml
@@ -28,15 +28,15 @@ jobs:
runs-on: ubuntu-22.04
if: github.event.workflow_run.conclusion == 'success' &&
github.repository_owner == 'apache'
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
repository: ${{ github.event.workflow_run.head_repository.full_name
}}
ref: ${{ github.event.workflow_run.head_sha }}
fetch-depth: 0
- name: Install Build Wrapper
- uses: SonarSource/sonarqube-scan-action/[email protected]
+ uses: SonarSource/sonarqube-scan-action/[email protected]
- name: 'Download code coverage'
- uses: actions/github-script@v7
+ uses: actions/github-script@v8
with:
script: |
let allArtifacts = await
github.rest.actions.listWorkflowRunArtifacts({
@@ -62,7 +62,7 @@ jobs:
mkdir -p build/CMakeFiles/CMakeTmp
ls -a sonarcloud-data build
- - uses: actions/setup-python@v5
+ - uses: actions/setup-python@v6
with:
python-version: 3.x
@@ -73,7 +73,7 @@ jobs:
echo "The PR number is ${PR_NUMBER:-<none>}"
- name: SonarQube Scan
- uses: SonarSource/[email protected]
+ uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}