From 294092750981de019463fa14eb8d8e449fdf5229 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Mon, 29 Jun 2026 21:05:40 +0800 Subject: [PATCH] ci: bump actions off deprecated Node.js 12/16 runtimes GitHub warns that actions running on the Node 12/16 runtimes are deprecated. - actions/checkout v2 -> v4 (release.yaml) - actions/setup-go v4 -> v5 (ci.yaml) Also replace engineerd/setup-kind@v0.5.0 (Node 12, unmaintained) with helm/kind-action@v1 (Node 20+). The kind version (v0.22.0) and node image (kindest/node:v1.31.0) are unchanged; the input key `image` becomes `node_image`. --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/release.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1566998..0587d5f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -57,10 +57,10 @@ jobs: ' - name: Setup Kubernetes - uses: engineerd/setup-kind@v0.5.0 + uses: helm/kind-action@v1 with: version: v0.22.0 - image: kindest/node:v1.31.0 + node_image: kindest/node:v1.31.0 - name: Test install charts run: | @@ -94,7 +94,7 @@ jobs: --charts charts/gateway --helm-extra-set-args "--set etcd.enabled=true --set apisix.extraEnvVars[0].name=API7_SKIP_FIRST_HEARTBEAT_DEBUG --set-string apisix.extraEnvVars[0].value=true"' - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.23' diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index db15b97..276b6e0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0