Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/asf-allowlist-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: apache/infrastructure-actions/allowlist-check@61dcea11f19e2bbe1263f14d72235e8da17d3ad0 # allowlist-check/v1.0.0
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/kvrocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
outputs:
docs_only: ${{ steps.result.outputs.docs_only }}
steps:
- uses: actions/checkout@v6
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d
- uses: actions/checkout@v7
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d
id: changes
with:
filters: .github/config/changes.yml
Expand All @@ -59,9 +59,9 @@ jobs:
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Check typos
uses: crate-ci/typos@v1.49.0
uses: crate-ci/typos@v1.50.1
with:
config: .github/config/typos.toml
- uses: apache/skywalking-eyes/header@v0.9.0
Expand All @@ -74,10 +74,10 @@ jobs:
if: ${{ needs.precondition.outputs.docs_only != 'true' }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Restore Kvrocks dependency cache
id: cache-kvrocks-deps
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ${{ env.KVROCKS_DEPS_CACHE_DIR }}
key: kvrocks-full-deps-${{ hashFiles('x.py', 'CMakeLists.txt', 'cmake/**/*.cmake') }}
Expand Down Expand Up @@ -308,14 +308,14 @@ jobs:

- name: Cache redis
id: cache-redis
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: |
~/local/bin/redis-cli
key: ${{ matrix.os }}-redis-cli
- name: Cache redis server
id: cache-redis-server
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: |
~/local/bin/redis-server
Expand All @@ -329,16 +329,16 @@ 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@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Restore Kvrocks dependency cache
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ${{ env.KVROCKS_DEPS_CACHE_DIR }}
key: kvrocks-full-deps-${{ hashFiles('x.py', 'CMakeLists.txt', 'cmake/**/*.cmake') }}
enableCrossOsArchive: true
- uses: actions/setup-python@v6
- uses: actions/setup-python@v7
if: ${{ !matrix.arm_linux }}
with:
python-version: 3.x
Expand All @@ -352,7 +352,7 @@ jobs:
if: ${{ matrix.sonarcloud }}

- name: Install Build Wrapper
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@713881670b6b3676cda39549040e2d88c70d582e # v8.2.0
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
if: ${{ matrix.sonarcloud }}

- name: Build Kvrocks
Expand Down Expand Up @@ -492,7 +492,7 @@ jobs:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Get core numbers
run: echo "NPROC=$(nproc)" >> $GITHUB_ENV
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
Expand Down Expand Up @@ -622,15 +622,15 @@ jobs:

- name: Cache redis
id: cache-redis
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: |
~/local/bin/redis-cli
key: ${{ matrix.image }}-redis-cli

- name: Cache redis server
id: cache-redis-server
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: |
~/local/bin/redis-server
Expand All @@ -646,9 +646,9 @@ 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@v6
- uses: actions/checkout@v7
- name: Restore Kvrocks dependency cache
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ${{ env.KVROCKS_DEPS_CACHE_DIR }}
key: kvrocks-full-deps-${{ hashFiles('x.py', 'CMakeLists.txt', 'cmake/**/*.cmake') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV

- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v6
- uses: actions/checkout@v7
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/install-build-wrapper@713881670b6b3676cda39549040e2d88c70d582e # v8.2.0
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
- name: 'Download code coverage'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
Expand All @@ -62,7 +62,7 @@ jobs:
mkdir -p build/CMakeFiles/CMakeTmp
ls -a sonarcloud-data build

- uses: actions/setup-python@v6
- uses: actions/setup-python@v7
with:
python-version: 3.x

Expand All @@ -73,7 +73,7 @@ jobs:
echo "The PR number is ${PR_NUMBER:-<none>}"

- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@713881670b6b3676cda39549040e2d88c70d582e # v8.2.0
uses: SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
Expand Down
Loading