Skip to content

Commit

Permalink
⬆️ Upgrade go to 1.19.5
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed May 25, 2023
1 parent e00e8fc commit 5857d02
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18.3
go-version: 1.19.5
- name: Build binary file
run: |
make build
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
submodules: true
- uses: actions/setup-go@v3
with:
go-version: 1.18.3
go-version: 1.19.5
- name: Setup release env
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18.3
go-version: 1.19.5
- name: Install golint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.0
# TODO: Remove after fixing lint
Expand All @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18.3
go-version: 1.19.5
# TODO: Remove after fixing format
- name: Run format check
if: ${{ false }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18.3
go-version: 1.19.5
- name: Run go test
run: make test
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.18.3
golang 1.19.9
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [v4.0.0](https://github.com/likecoin/likecoin-chain/releases/v4.0.0)

- Upgrade golang to 1.19.5
- Upgrade cosmos-sdk to 0.46.12
- Upgrade ibc-go to 5.3.1
- Remove x/nft backport
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM likecoin/rbuilder:go1.18.3 as builder
FROM likecoin/rbuilder:go1.19.5 as builder

USER root
ARG LIKED_VERSION=unknown
Expand All @@ -11,6 +11,7 @@ RUN tar -xzvf cosmovisor-v1.3.0-linux-amd64.tar.gz
USER builder
COPY . /sources
WORKDIR /sources
RUN git config --global --add safe.directory /sources

ENV TARGET_PLATFORMS='linux/amd64'
ENV APP='liked'
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ DOCKER := $(shell which docker)
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.8.0
LIKE_HOME := '$(HOME)/.liked'
IMAGE_TAG = likecoin/likecoin-chain:$(VERSION)
RBUILDER_IMAGE_TAG = likecoin/rbuilder:go1.18.3
RBUILDER_IMAGE_TAG = likecoin/rbuilder:go1.19.5
BUILDDIR ?= $(CURDIR)/build
GOPATH ?= '$(HOME)/go'
GOLANG_VERSION ?= 1.18.3
GOLANG_VERSION ?= 1.19.5
GOLANG_CROSS_VERSION := v$(GOLANG_VERSION)

###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ LikeCoin chain is a blockchain built on the Cosmos SDK. Project page: https://li

## Requirements

- Go 1.18
- Go 1.19

## For development.

Expand Down
2 changes: 1 addition & 1 deletion deploy/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.18.3
golang 1.19.5
2 changes: 1 addition & 1 deletion deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This document describe how to use Pulumi to set up devnet that support developme
# Prerequisites

- [Pulumi](https://www.pulumi.com/docs/get-started/install/)
- Go 1.18
- Go 1.19
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-macos) (for azure nodes)
- [Gcloud CLI](https://cloud.google.com/sdk/docs/install-sdk) (for gcp nodes)

Expand Down
2 changes: 1 addition & 1 deletion deploy/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module deploy

go 1.18
go 1.19

require (
github.com/pulumi/pulumi-azure-native/sdk v1.55.0
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.3-alpine AS base
FROM golang:1.19.5-alpine AS base

RUN apk update && apk add --no-cache build-base git bash curl linux-headers ca-certificates
WORKDIR /
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/likecoin/likecoin-chain/v4

go 1.18
go 1.19

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

0 comments on commit 5857d02

Please sign in to comment.