Skip to content

Commit 64b16bc

Browse files
committed
inc golang in CI
1 parent a49268b commit 64b16bc

18 files changed

+43
-43
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v3
2424
- uses: actions/setup-go@v3
2525
with:
26-
go-version: "1.19"
26+
go-version: "1.20"
2727
check-latest: true
2828
- uses: technote-space/[email protected]
2929
id: git_diff

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v3
2626
- uses: actions/setup-go@v3
2727
with:
28-
go-version: "1.19"
28+
go-version: "1.20"
2929
check-latest: true
3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL

.github/workflows/dependabot-update-all.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
token: ${{ secrets.PRBOT_PAT }}
1818
- uses: actions/setup-go@v3
1919
with:
20-
go-version: "1.19"
20+
go-version: "1.20"
2121
check-latest: true
2222
- name: Extract updated dependency
2323
id: deps

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: "1.19"
19+
go-version: "1.20"
2020
check-latest: true
2121
- uses: actions/checkout@v3
2222
- name: golangci-lint

.github/workflows/release-cosmovisor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: "1.19"
19+
go-version: "1.20"
2020
check-latest: true
2121
# get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV
2222
- name: Set env

.github/workflows/release-rosetta.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: "1.19"
19+
go-version: "1.20"
2020
check-latest: true
2121
# get 'v*.*.*' part from 'rosetta/v*.*.*' and save to $GITHUB_ENV
2222
- name: Set env

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Go
2121
uses: actions/setup-go@v3
2222
with:
23-
go-version: "1.19"
23+
go-version: "1.20"
2424
check-latest: true
2525
- name: Unshallow
2626
run: git fetch --prune --unshallow

.github/workflows/sims-045.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: "release/v0.45.x"
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.20"
2525
check-latest: true
2626
- run: make build
2727

@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/setup-go@v3
3535
with:
36-
go-version: "1.19"
36+
go-version: "1.20"
3737
check-latest: true
3838
- name: Install runsim
3939
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -51,7 +51,7 @@ jobs:
5151
ref: "release/v0.45.x"
5252
- uses: actions/setup-go@v3
5353
with:
54-
go-version: "1.19"
54+
go-version: "1.20"
5555
check-latest: true
5656
- uses: actions/cache@v3
5757
with:
@@ -70,7 +70,7 @@ jobs:
7070
ref: "release/v0.45.x"
7171
- uses: actions/setup-go@v3
7272
with:
73-
go-version: "1.19"
73+
go-version: "1.20"
7474
check-latest: true
7575
- uses: actions/cache@v3
7676
with:
@@ -90,7 +90,7 @@ jobs:
9090
ref: "release/v0.45.x"
9191
- uses: actions/setup-go@v3
9292
with:
93-
go-version: "1.19"
93+
go-version: "1.20"
9494
check-latest: true
9595
- uses: actions/cache@v3
9696
with:

.github/workflows/sims-046.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: "release/v0.46.x"
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.20"
2525
check-latest: true
2626
- run: make build
2727

@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/setup-go@v3
3535
with:
36-
go-version: "1.19"
36+
go-version: "1.20"
3737
check-latest: true
3838
- name: Install runsim
3939
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -52,7 +52,7 @@ jobs:
5252
ref: "release/v0.46.x"
5353
- uses: actions/setup-go@v3
5454
with:
55-
go-version: "1.19"
55+
go-version: "1.20"
5656
check-latest: true
5757
- uses: actions/cache@v3
5858
with:
@@ -71,7 +71,7 @@ jobs:
7171
ref: "release/v0.46.x"
7272
- uses: actions/setup-go@v3
7373
with:
74-
go-version: "1.19"
74+
go-version: "1.20"
7575
check-latest: true
7676
- uses: actions/cache@v3
7777
with:
@@ -90,7 +90,7 @@ jobs:
9090
ref: "release/v0.46.x"
9191
- uses: actions/setup-go@v3
9292
with:
93-
go-version: "1.19"
93+
go-version: "1.20"
9494
check-latest: true
9595
- uses: actions/cache@v3
9696
with:

.github/workflows/sims-047.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: "release/v0.47.x"
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.20"
2525
check-latest: true
2626
- run: make build
2727

@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/setup-go@v3
3535
with:
36-
go-version: "1.19"
36+
go-version: "1.20"
3737
check-latest: true
3838
- name: Install runsim
3939
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -52,7 +52,7 @@ jobs:
5252
ref: "release/v0.47.x"
5353
- uses: actions/setup-go@v3
5454
with:
55-
go-version: "1.19"
55+
go-version: "1.20"
5656
check-latest: true
5757
- uses: actions/cache@v3
5858
with:
@@ -71,7 +71,7 @@ jobs:
7171
ref: "release/v0.47.x"
7272
- uses: actions/setup-go@v3
7373
with:
74-
go-version: "1.19"
74+
go-version: "1.20"
7575
check-latest: true
7676
- uses: actions/cache@v3
7777
with:
@@ -90,7 +90,7 @@ jobs:
9090
ref: "release/v0.47.x"
9191
- uses: actions/setup-go@v3
9292
with:
93-
go-version: "1.19"
93+
go-version: "1.20"
9494
check-latest: true
9595
- uses: actions/cache@v3
9696
with:

.github/workflows/sims-nightly.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- uses: actions/setup-go@v3
2424
with:
25-
go-version: "1.19"
25+
go-version: "1.20"
2626
check-latest: true
2727
- name: Install runsim
2828
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@v3
3838
- uses: actions/setup-go@v3
3939
with:
40-
go-version: "1.19"
40+
go-version: "1.20"
4141
check-latest: true
4242
- uses: actions/cache@v3
4343
with:

.github/workflows/sims.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.20"
2525
check-latest: true
2626
- run: make build
2727
- name: Install runsim
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v3
4040
- uses: actions/setup-go@v3
4141
with:
42-
go-version: "1.19"
42+
go-version: "1.20"
4343
check-latest: true
4444
- uses: actions/cache@v3
4545
with:
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/checkout@v3
5757
- uses: actions/setup-go@v3
5858
with:
59-
go-version: "1.19"
59+
go-version: "1.20"
6060
check-latest: true
6161
- uses: actions/cache@v3
6262
with:
@@ -74,7 +74,7 @@ jobs:
7474
- uses: actions/checkout@v3
7575
- uses: actions/setup-go@v3
7676
with:
77-
go-version: "1.19"
77+
go-version: "1.20"
7878
check-latest: true
7979
- uses: actions/cache@v3
8080
with:

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v3
2121
- uses: actions/setup-go@v3
2222
with:
23-
go-version: "1.19"
23+
go-version: "1.20"
2424
check-latest: true
2525
- name: Create a file with all core Cosmos SDK pkgs
2626
run: go list ./... > pkgs.txt
@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/checkout@v3
5555
- uses: actions/setup-go@v3
5656
with:
57-
go-version: "1.19"
57+
go-version: "1.20"
5858
check-latest: true
5959
cache: true
6060
cache-dependency-path: go.sum
@@ -86,7 +86,7 @@ jobs:
8686
- uses: actions/checkout@v3
8787
- uses: actions/setup-go@v3
8888
with:
89-
go-version: "1.19"
89+
go-version: "1.20"
9090
check-latest: true
9191
cache: true
9292
cache-dependency-path: go.sum
@@ -117,7 +117,7 @@ jobs:
117117
- uses: actions/checkout@v3
118118
- uses: actions/setup-go@v3
119119
with:
120-
go-version: "1.19"
120+
go-version: "1.20"
121121
check-latest: true
122122
cache: true
123123
cache-dependency-path: go.sum
@@ -189,7 +189,7 @@ jobs:
189189
- uses: actions/checkout@v3
190190
- uses: actions/setup-go@v3
191191
with:
192-
go-version: "1.19"
192+
go-version: "1.20"
193193
check-latest: true
194194
cache: true
195195
cache-dependency-path: go.sum
@@ -219,7 +219,7 @@ jobs:
219219
- uses: actions/checkout@v3
220220
- uses: actions/setup-go@v3
221221
with:
222-
go-version: "1.19"
222+
go-version: "1.20"
223223
check-latest: true
224224
cache: true
225225
cache-dependency-path: go.sum
@@ -245,7 +245,7 @@ jobs:
245245
- uses: actions/checkout@v3
246246
- uses: actions/setup-go@v3
247247
with:
248-
go-version: "1.19"
248+
go-version: "1.20"
249249
check-latest: true
250250
cache: true
251251
cache-dependency-path: simapp/go.sum

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313
# This image is pushed to the GHCR as https://ghcr.io/cosmos/simapp
1414

15-
FROM --platform=$BUILDPLATFORM golang:1.19-alpine AS build-env
15+
FROM --platform=$BUILDPLATFORM golang:1.20-alpine AS build-env
1616

1717
# Install minimum necessary dependencies
1818
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev

contrib/devtools/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# docker run --rm -v $(pwd):/workspace --workdir /workspace cosmossdk-proto sh ./scripts/protocgen.sh
44

55
FROM bufbuild/buf:1.9.0 as BUILDER
6-
FROM golang:1.19-alpine
6+
FROM golang:1.20-alpine
77

88
RUN apk add --no-cache \
99
nodejs \
@@ -23,9 +23,9 @@ ENV GOLANG_PROTOBUF_VERSION=1.28.1 \
2323
GRPC_GATEWAY_VERSION=1.16.0
2424

2525
RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest && \
26-
go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} && \
27-
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \
28-
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION}
26+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} && \
27+
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \
28+
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION}
2929

3030
# install all gogo protobuf binaries
3131
RUN git clone https://github.com/cosmos/gogoproto.git; \

contrib/images/simd-dlv/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19-alpine AS build
1+
FROM golang:1.20-alpine AS build
22

33
RUN apk add build-base git linux-headers libc-dev
44
RUN go install github.com/go-delve/delve/cmd/dlv@latest

contrib/images/simd-env/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19-alpine AS build
1+
FROM golang:1.20-alpine AS build
22

33
RUN apk add build-base git linux-headers
44

contrib/rosetta/rosetta-ci/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19-alpine as build
1+
FROM golang:1.20-alpine as build
22

33
RUN apk add git tar gcc libc-dev --no-cache
44

0 commit comments

Comments
 (0)