From 49578164eb1500c7ab6bd011f62f396d6a406843 Mon Sep 17 00:00:00 2001 From: Shogo Hyodo Date: Wed, 26 Jul 2023 17:59:40 +0900 Subject: [PATCH] Update to go 1.20 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 8 ++++---- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f59f0c63d25..3fd1f916d05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '1.17' + go-version: '1.20' - name: Release uses: goreleaser/goreleaser-action@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6e00030df0..e2528c919ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,12 +20,12 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: '1.20' - name: Display go version run: go version - name: install tparse run: | - export GO111MODULE="on" && go get github.com/mfridman/tparse@v0.8.3 + go install github.com/mfridman/tparse@v0.8.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -40,7 +40,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: '1.20' - uses: technote-space/get-diff-action@v6.1.0 id: git_diff with: @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: '1.20' - uses: technote-space/get-diff-action@v6.1.0 with: PATTERNS: | diff --git a/Dockerfile b/Dockerfile index eb044d5eaf9..f129f823057 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17 as builder +FROM golang:1.20 as builder ENV GOPATH="" ENV GOMODULE="on" diff --git a/go.mod b/go.mod index d16b3432bb3..220efb0aeff 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -go 1.18 +go 1.20 module github.com/cosmos/ibc-go/v4