Skip to content

Commit

Permalink
Merge pull request #342 from hypersign-protocol/go-1-19-bump
Browse files Browse the repository at this point in the history
bump golang version from `go1.18` to `go1.19`
  • Loading branch information
Vishwas1 committed Mar 17, 2023
2 parents 3b82617 + b2e4b64 commit 8a1a39a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
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 8a1a39a

Please sign in to comment.