Skip to content

Commit

Permalink
Merge pull request #84 from neutron-org/chore/bump-go-to-1.21
Browse files Browse the repository at this point in the history
Chore: bump go to 1.21
  • Loading branch information
pr0n00gler authored Jan 30, 2024
2 parents 439de2c + c0787bd commit 052e635
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '~1.21'
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.20
golang 1.21
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-buster as builder
FROM golang:1.21-bullseye as builder

ARG LDFLAGS
RUN mkdir /app
Expand All @@ -10,7 +10,7 @@ RUN go build -ldflags "${LDFLAGS}" -a -o build/neutron_query_relayer ./cmd/neutr

FROM debian:buster
RUN apt update && apt install ca-certificates curl -y && apt-get clean
ADD ["https://github.com/CosmWasm/wasmvm/releases/download/v1.5.0/libwasmvm.x86_64.so","https://github.com/CosmWasm/wasmvm/releases/download/v1.5.0/libwasmvm.aarch64.so","/lib/"]
ADD ["https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm.x86_64.so","https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm.aarch64.so","/lib/"]
ADD run.sh .
COPY --from=builder /app/build/neutron_query_relayer /bin/
EXPOSE 9999
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/neutron-org/neutron-query-relayer

go 1.20
go 1.21

toolchain go1.21.3

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

0 comments on commit 052e635

Please sign in to comment.