Skip to content

Commit

Permalink
Bump min Go versin to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Nov 27, 2023
1 parent 868c5a7 commit 623a454
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:

format-go:
docker:
- image: cimg/go:1.19.7
- image: cimg/go:1.21.4
steps:
- run:
name: Install gofumpt
Expand All @@ -186,7 +186,7 @@ jobs:
# Build types and cosmwam package without cgo
wasmvm_no_cgo:
docker:
- image: cimg/go:1.19.7
- image: cimg/go:1.21.4
steps:
- checkout
- run:
Expand All @@ -204,12 +204,12 @@ jobs:

tidy-go:
docker:
- image: cimg/go:1.19.7
- image: cimg/go:1.21.4
steps:
- checkout
- run:
name: Check go mod tidy
# Use --check or --exit-code when available (Go 1.19?)
# Use --check or --exit-code when available (Go 1.22?)
# https://github.com/golang/go/issues/27005
command: |
go mod tidy
Expand All @@ -222,7 +222,7 @@ jobs:
format-scripts:
docker:
- image: cimg/go:1.21.3
- image: cimg/go:1.21.4
steps:
- run:
name: Install shfmt
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
# Test the Go project
wasmvm_test:
docker:
- image: cimg/go:1.19.7
- image: cimg/go:1.21.4
environment:
GORACE: "halt_on_error=1"
BUILD_VERSION: $(echo ${CIRCLE_SHA1} | cut -c 1-10)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test:

test-safety:
# Use package list mode to include all subdirectores. The -count=1 turns off caching.
GODEBUG=cgocheck=2 go test -race -v -count=1 ./...
GOEXPERIMENT=cgocheck2 go test -race -v -count=1 ./...

# Creates a release build in a containerized build environment of the static library for Alpine Linux (.a)
release-build-alpine:
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 github.com/CosmWasm/wasmvm

go 1.18
go 1.21

require (
github.com/google/btree v1.0.0
Expand Down

0 comments on commit 623a454

Please sign in to comment.