Skip to content

Commit

Permalink
bump go to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0n00gler committed Jan 24, 2024
1 parent 439de2c commit 8dc4903
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 5 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
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-buster 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 8dc4903

Please sign in to comment.