Skip to content

Commit

Permalink
Update go version for wormchain workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Sep 13, 2024
1 parent dbf021a commit aed9eb7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.19.9"
go-version: "1.22.5"
- run: |
cd wormchain
make proto -B
Expand Down
6 changes: 4 additions & 2 deletions wormchain/Dockerfile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV GOPROXY https://proxy.golang.org


## CLI BUILDER STAGE
FROM base as cli-builder
FROM base AS cli-builder

WORKDIR /ignite

Expand All @@ -34,7 +34,7 @@ RUN ignite version


## WORMCHAIN BUILDER STAGE
FROM base as wormchain-builder
FROM base AS wormchain-builder

# Define 'tendermint' user (same as in the official ignite image)
RUN useradd -ms /bin/bash tendermint
Expand All @@ -57,6 +57,8 @@ RUN ignite doctor

## GO PROTO BUILDER STAGE
FROM wormchain-builder AS ignite-go-build
# Ignite only likes minor versions in go.mod
RUN sed -i 's/go 1.22.5/go 1.22/g' go.mod
RUN ignite generate proto-go


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

go 1.22
go 1.22.5

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

0 comments on commit aed9eb7

Please sign in to comment.