Skip to content

Commit

Permalink
bump golang version from go1.18 to go1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Mar 17, 2023
1 parent 3b82617 commit d1c0de2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:

before:
hooks:
- go mod tidy -compat=1.18
- go mod tidy -compat=1.19

builds:
- id: ubuntu-amd64
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18
FROM golang:1.19

# Set up dependencies
ENV PACKAGES curl make git libc-dev bash gcc python3 jq
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export GO111MODULE=on
all: proto-gen swagger-docs-gen build

go-version-check:
ifneq ($(GO_MINOR_VERSION),18)
@echo "ERROR: Go version 1.18 is required for this version of hid-node"
ifneq ($(GO_MINOR_VERSION),19)
@echo "ERROR: Go version 1.19 is required to build hid-noded binary"
exit 1
endif

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/hypersign-protocol/hid-node

go 1.18
go 1.19

require (
github.com/cosmos/cosmos-sdk v0.45.11
Expand Down

0 comments on commit d1c0de2

Please sign in to comment.