File tree 8 files changed +12
-12
lines changed 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,13 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
74
74
RUN bash /tmp/library-scripts/rust-debian.sh "${CARGO_HOME}" "${RUSTUP_HOME}" "${USERNAME}" "true" "true"
75
75
76
76
# Install Go
77
- # ADD https://go.dev/dl/go1.18.4 .linux-amd64.tar.gz go1.18.4 .linux-amd64.tar.gz
78
- # RUN tar -C /usr/local -xzf go1.18.4 .linux-amd64.tar.gz
77
+ # ADD https://go.dev/dl/go1.21.1 .linux-amd64.tar.gz go .linux-amd64.tar.gz
78
+ # RUN tar -C /usr/local -xzf go .linux-amd64.tar.gz
79
79
#
80
80
# RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" "$GOPATH/pkg" && chmod -R 777 "$GOPATH"
81
81
# RUN chown ${USERNAME}:${USERNAME} /go -R
82
82
83
- RUN bash /tmp/library-scripts/go-debian.sh "1.18.4 " "${GOROOT}" "${GOPATH}" "${USERNAME}" "true" "true" && \
83
+ RUN bash /tmp/library-scripts/go-debian.sh "1.21.1 " "${GOROOT}" "${GOPATH}" "${USERNAME}" "true" "true" && \
84
84
go install github.com/jteeuwen/go-bindata/go-bindata@latest && go-bindata -version
85
85
86
86
RUN apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105
105
submodules : recursive
106
106
- uses : actions/setup-go@v4
107
107
with :
108
- go-version : 1.19 # The Go version to download (if necessary) and use.
108
+ go-version : 1.21 # The Go version to download (if necessary) and use.
109
109
- name : Install Intel's SGX SDK
110
110
run : |
111
111
mkdir -p "$HOME/.sgxsdk"
@@ -236,7 +236,7 @@ jobs:
236
236
submodules : recursive
237
237
- uses : actions/setup-go@v4
238
238
with :
239
- go-version : 1.19 # The Go version to download (if necessary) and use.
239
+ go-version : 1.21 # The Go version to download (if necessary) and use.
240
240
- name : Install xgo
241
241
run : |
242
242
go install github.com/crazy-max/[email protected]
Original file line number Diff line number Diff line change 16
16
steps :
17
17
- uses : actions/setup-go@v4
18
18
with :
19
- go-version : 1.19
19
+ go-version : 1.21
20
20
- uses : actions/checkout@v4
21
21
- name : make bin-data-sw
22
22
run : |
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ jobs:
151
151
- uses : actions/checkout@v4
152
152
- uses : actions/setup-go@v4
153
153
with :
154
- go-version : 1.19 # The Go version to download (if necessary) and use.
154
+ go-version : 1.21 # The Go version to download (if necessary) and use.
155
155
- name : Build CLI
156
156
shell : bash
157
157
run : |
@@ -168,7 +168,7 @@ jobs:
168
168
- uses : actions/checkout@v4
169
169
- uses : actions/setup-go@v4
170
170
with :
171
- go-version : 1.19 # The Go version to download (if necessary) and use.
171
+ go-version : 1.21 # The Go version to download (if necessary) and use.
172
172
- name : Install xgo
173
173
run : |
174
174
go install github.com/crazy-max/[email protected]
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ ENV GOROOT=/usr/local/go
90
90
ENV GOPATH=/go/
91
91
ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
92
92
93
- ADD https://go.dev/dl/go1.19 .linux-amd64.tar.gz go.linux-amd64.tar.gz
93
+ ADD https://go.dev/dl/go1.21.1 .linux-amd64.tar.gz go.linux-amd64.tar.gz
94
94
RUN tar -C /usr/local -xzf go.linux-amd64.tar.gz
95
95
RUN go install github.com/jteeuwen/go-bindata/go-bindata@latest && go-bindata -version
96
96
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ENV GOROOT=/usr/local/go
15
15
ENV GOPATH=/go/
16
16
ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
17
17
18
- ADD https://go.dev/dl/go1.19 .linux-amd64.tar.gz go.linux-amd64.tar.gz
18
+ ADD https://go.dev/dl/go1.21.1 .linux-amd64.tar.gz go.linux-amd64.tar.gz
19
19
RUN tar -C /usr/local -xzf go.linux-amd64.tar.gz
20
20
21
21
RUN apt-get update -y && \
Original file line number Diff line number Diff line change 1
1
module github.com/scrtlabs/SecretNetwork
2
2
3
- go 1.20
3
+ go 1.21
4
4
5
5
replace (
6
6
github.com/cometbft/cometbft => github.com/scrtlabs/tendermint v1.9.0-scrt.0.20230802144651-d62916253d52
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ rustup component add rust-src
20
20
rustup target add wasm32-unknown-unknown
21
21
22
22
# Install Go
23
- GO_VERSION=1.20.2
23
+ GO_VERSION=1.21.1
24
24
wget -q https://golang.org/dl/go$GO_VERSION .linux-amd64.tar.gz
25
25
sudo tar -C /usr/local -xzf go$GO_VERSION .linux-amd64.tar.gz
26
26
export PATH=$PATH :/usr/local/go/bin
You can’t perform that action at this time.
0 commit comments