Skip to content

Commit

Permalink
chore: bump go version to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Mar 9, 2024
1 parent 759903d commit d124072
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.21

- run: go test
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 as builder
FROM golang:1.21 as builder

ENV GO111MODULE=on \
GOPROXY=https://goproxy.cn,direct
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The KCL programming language can be used to:

+ Install [kpt](https://github.com/GoogleContainerTools/kpt)
+ Install [Docker](https://www.docker.com/)
+ Golang (at least version 1.19)
+ Golang (at least version 1.21)

## Test the KRM function

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module kcl-lang.io/kpt-kcl

go 1.19
go 1.21

require (
github.com/GoogleContainerTools/kpt-functions-sdk/go/fn v0.0.0-20230427202446-3255accc518d
Expand Down
Loading

0 comments on commit d124072

Please sign in to comment.