Skip to content

Commit

Permalink
build: bump Go version to 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Oct 24, 2023
1 parent 2207db6 commit ab42731
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Run mutation tests 🧪
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-chain-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Install Desmos 🔧
run: make clean install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Unshallow
run: git fetch --prune --unshallow --tags --force
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
# - name: Setup Go 🧰
# uses: actions/setup-go@v4
# with:
# go-version: '1.19'
# go-version: '1.20'
#
# - name: Build the binary 🏭
# run: |
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
# - name: Setup Go 🧰
# uses: actions/setup-go@v4
# with:
# go-version: '1.19'
# go-version: '1.20'
#
# - name: Compute diff 📜
# uses: technote-space/[email protected]
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
# - name: Setup Go 🧰
# uses: actions/setup-go@v4
# with:
# go-version: '1.19'
# go-version: '1.20'
#
# - name: Build the binary 🏭
# run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Build 🔨
run: make build
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Install runsim 🏃
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Display go version 🛂
run: go version
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion contrib/images/desmos-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.9-alpine
FROM golang:1.20-alpine
ARG arch=x86_64

# Set up dependencies
Expand Down
2 changes: 1 addition & 1 deletion contrib/images/desmos-cosmovisor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG DESMOS_VERSION="v0.17.2"
FROM golang:1.19.9-alpine AS build-env
FROM golang:1.20-alpine AS build-env

ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3
RUN apk add --no-cache $PACKAGES
Expand Down
8 changes: 4 additions & 4 deletions contrib/upgrade_testnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3'
services:
desmosnode0:
container_name: desmosnode0
image: "desmoslabs/desmos-cosmovisor:v5.2.0"
image: "desmoslabs/desmos-cosmovisor:v6.0.0"
command: "start --x-crisis-skip-assert-invariants"
ports:
- "26656-26657:26656-26657"
Expand All @@ -19,7 +19,7 @@ services:

desmosnode1:
container_name: desmosnode1
image: "desmoslabs/desmos-cosmovisor:v5.2.0"
image: "desmoslabs/desmos-cosmovisor:v6.0.0"
command: "start --x-crisis-skip-assert-invariants"
ports:
- "26666-26667:26656-26657"
Expand All @@ -35,7 +35,7 @@ services:

desmosnode2:
container_name: desmosnode2
image: "desmoslabs/desmos-cosmovisor:v5.2.0"
image: "desmoslabs/desmos-cosmovisor:v6.0.0"
command: "start --x-crisis-skip-assert-invariants"
ports:
- "26676-26677:26656-26657"
Expand All @@ -51,7 +51,7 @@ services:

desmosnode3:
container_name: desmosnode3
image: "desmoslabs/desmos-cosmovisor:v5.2.0"
image: "desmoslabs/desmos-cosmovisor:v6.0.0"
command: "start --x-crisis-skip-assert-invariants"
ports:
- "26686-26687:26656-26657"
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/desmos-labs/desmos/v6

go 1.19
go 1.20

require (
cosmossdk.io/api v0.3.1
Expand Down

0 comments on commit ab42731

Please sign in to comment.