Skip to content

Commit 7b814e7

Browse files
author
gregnuj
committed
modify go version for chihuahua
1 parent f6cf4e4 commit 7b814e7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/chihuahua-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
binary: "chihuahuad"
5757
build_command: "make install"
5858
chain_registry_name: "chihuahua"
59-
go_version: "1.21"
59+
go_version: "1.20.10"
6060
repo: "ChihuahuaChain/chihuahua"
6161
os: "linux"
6262
arch: "amd64"

alpine.Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ SHELL [ "/bin/bash", "-c" ]
4646

4747
RUN set -e && \
4848
git clone -b ${GIT_TAG} https://github.com/${GIT_REPO}.git ./ && \
49-
export GO_MOD_VERSION="$(awk '/^go /{print $2}' go.mod)" && \
50-
if [[ "${GO_VERSION}" != "${GO_MOD_VERSION}"* ]]; then \
51-
/bin/bash < <(curl -sSL https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) && \
52-
source ${HOME}/.gvm/scripts/gvm && \
53-
gvm install go${GO_MOD_VERSION} && \
54-
gvm use go${GO_MOD_VERSION}; \
55-
fi && \
49+
# export GO_MOD_VERSION="$(awk '/^go /{print $2}' go.mod)" && \
50+
# if [[ "${GO_VERSION}" != "${GO_MOD_VERSION}"* ]]; then \
51+
# /bin/bash < <(curl -sSL https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) && \
52+
# source ${HOME}/.gvm/scripts/gvm && \
53+
# gvm install go${GO_MOD_VERSION} && \
54+
# gvm use go${GO_MOD_VERSION}; \
55+
# fi && \
5656
go mod download -x || true
5757

5858
# download wasmvm if version is specified

0 commit comments

Comments
 (0)