From 93e85df72ba73586d3d7a8cb6949888f18f886c4 Mon Sep 17 00:00:00 2001 From: benjamin2024 Date: Fri, 19 Jun 2026 10:19:22 +0800 Subject: [PATCH 1/2] ci: upgrade GitHub Actions to Node.js 24 compatible versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps actions/checkout v4→v5, actions/cache v4→v5, and actions/setup-go v5→v6 to resolve Node.js 20 deprecation warnings on GitHub Actions runners. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31eb1c27cc74..f658c5af47ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,16 +48,16 @@ jobs: script: go run build/ci.go test -coverage $(go list ./... | grep "github.com/XinFinOrg/XDPoSChain/[t-z].*") steps: - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: path: ${{ env.GOPATH }}/src/XDPoSChain # Cache build tools to avoid downloading them each time - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: ${{ env.GOPATH }}/src/XDPoSChain/build/cache key: ${{ runner.os }}-build-tools-cache-${{ hashFiles('**/build/checksums.txt') }} - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: cache: false go-version: "1.25.x" @@ -88,7 +88,7 @@ jobs: needs: tests if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Login to Docker Hub run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin - name: Build Docker image @@ -103,7 +103,7 @@ jobs: outputs: output1: ${{ steps.docker.outputs.image_name }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Login to Docker Hub run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin - name: Build and Push Docker images @@ -127,7 +127,7 @@ jobs: if: github.ref == 'refs/heads/dev-upgrade' && !startsWith(github.ref, 'refs/tags/') needs: devnet_build_push steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up kubectl uses: azure/setup-kubectl@v4 with: @@ -171,7 +171,7 @@ jobs: needs: devnet_k8_apply if: github.ref == 'refs/heads/dev-upgrade' && !startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Send deployment notification env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c8b1cd966d34163a7c8a3b1c9ff8848794be9fe5 Mon Sep 17 00:00:00 2001 From: benjamin2024 Date: Fri, 19 Jun 2026 10:21:50 +0800 Subject: [PATCH 2/2] update gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 7704e57a4a3e..bf8760740e33 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,6 @@ go.sum **/.terraform* cicd/devnet/tmp cicd/devnet/terraform/node-config.json + +# AI +.claude