diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b873ad0..31faef0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.18.5 + go-version: 1.19.7 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97999db..10524e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 @@ -49,7 +49,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Set up QEMU uses: docker/setup-qemu-action@v1 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e4c8d84..0ab7273 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -5,7 +5,7 @@ env: before: hooks: - - go mod tidy -compat=1.18 + - go mod tidy -compat=1.19 builds: - id: ubuntu-amd64 diff --git a/Dockerfile b/Dockerfile index 5dc51c3..8c8029d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 950471b..92790d2 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/go.mod b/go.mod index f770eaf..5282b90 100644 --- a/go.mod +++ b/go.mod @@ -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