From b9c27d02589b0c58050d154aabbae7b90e021a62 Mon Sep 17 00:00:00 2001 From: hyl0102 Date: Thu, 12 Mar 2026 14:41:27 +0800 Subject: [PATCH] chore: update go to 1.25 Signed-off-by: hyl0102 --- .github/workflows/example-e2e-tests.yaml | 2 +- .github/workflows/release.yaml | 2 +- Dockerfile | 2 +- go.mod | 2 +- makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/example-e2e-tests.yaml b/.github/workflows/example-e2e-tests.yaml index e6f95c5..389a19d 100644 --- a/.github/workflows/example-e2e-tests.yaml +++ b/.github/workflows/example-e2e-tests.yaml @@ -72,7 +72,7 @@ jobs: musl: runs-on: ubuntu-latest - container: golang:1.24-alpine + container: golang:1.25-alpine steps: - name: Git checkout uses: actions/checkout@v6 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd07d74..82ba9e7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -84,7 +84,7 @@ jobs: musl-binary: needs: binary runs-on: ubuntu-latest - container: golang:1.24-alpine + container: golang:1.25-alpine steps: - name: Git checkout uses: actions/checkout@v6 diff --git a/Dockerfile b/Dockerfile index ff273fe..98e5829 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILDER_IMAGE=golang:1.24 +ARG BUILDER_IMAGE=golang:1.25 ARG BASE_IMAGE=debian:12-slim # Build the manager binary diff --git a/go.mod b/go.mod index ea2dade..030c745 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module kcl-lang.io/cli -go 1.24.0 +go 1.25.0 require ( github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d diff --git a/makefile b/makefile index 18b0bb6..cd4f025 100644 --- a/makefile +++ b/makefile @@ -56,7 +56,7 @@ docker-run-release: export pkg=/go/src/github.com/kcl-lang/cli docker-run-release: git checkout main git push - docker run -it --rm -e GITHUB_TOKEN -v $(shell pwd):$(pkg) -w $(pkg) golang:1.24 make bootstrap release + docker run -it --rm -e GITHUB_TOKEN -v $(shell pwd):$(pkg) -w $(pkg) golang:1.25 make bootstrap release .PHONY: dist dist: export COPYFILE_DISABLE=1 #teach OSX tar to not put ._* files in tar archive