Skip to content

Commit

Permalink
chore!: bump go to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Sep 10, 2024
1 parent d18dcd6 commit b0aaa89
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image-and-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
go-version:
- 1.21
- 1.23
os: [ubuntu-22.04, macos-latest]
arch: [amd64, arm64]
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-go-generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v2
with:
go-version: 1.21
go-version: 1.23

- name: Install Python
uses: actions/setup-python@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-internal-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v2
with:
go-version: 1.21
go-version: 1.23

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-proto-generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v2
with:
go-version: 1.21
go-version: 1.23

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v2
with:
go-version: 1.21
go-version: 1.23

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v4
with:
go-version: 1.21
go-version: 1.23

- name: Run test and coverage
run: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:experimental

FROM golang:1.21-alpine3.18 as build
FROM golang:1.23-alpine3.20 as build

ARG ARCH=x86_64
ARG WASM=true
Expand Down Expand Up @@ -33,7 +33,7 @@ COPY . .

RUN make MUSLC="${WASM}" WASM="${WASM}" IBC_WASM_HOOKS="${IBC_WASM_HOOKS}" build

FROM alpine:3.18
FROM alpine:3.20

ARG USER_ID=1000
ARG GROUP_ID=1001
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.binaries
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.23

RUN apt update && apt install \
ca-certificates \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:experimental

FROM golang:1.21 as debug
FROM golang:1.23 as debug
RUN groupadd -r -g 1001 axelard && useradd -m -r -u 1000 -g axelard axelard

WORKDIR /axelar
Expand Down
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/axelarnetwork/axelar-core

go 1.21
go 1.23

require (
github.com/CosmWasm/wasmd v0.33.0
Expand All @@ -18,7 +18,7 @@ require (
github.com/golang/protobuf v1.5.3
github.com/gorilla/mux v1.8.0
github.com/grpc-ecosystem/grpc-gateway v1.16.0
github.com/matryer/moq v0.3.4
github.com/matryer/moq v0.5.0
github.com/miguelmota/go-ethereum-hdwallet v0.1.1
github.com/mitchellh/mapstructure v1.5.0
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.5
Expand All @@ -35,12 +35,12 @@ require (
github.com/stretchr/testify v1.8.4
github.com/tendermint/tendermint v0.34.27
github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b
golang.org/x/crypto v0.25.0
golang.org/x/crypto v0.26.0
golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1
golang.org/x/mod v0.19.0
golang.org/x/sync v0.7.0
golang.org/x/text v0.16.0
golang.org/x/tools v0.23.0
golang.org/x/mod v0.21.0
golang.org/x/sync v0.8.0
golang.org/x/text v0.17.0
golang.org/x/tools v0.24.0
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2
google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529
google.golang.org/grpc v1.58.3
Expand Down Expand Up @@ -171,9 +171,9 @@ require (
github.com/zondax/ledger-go v0.14.1 // indirect
go.etcd.io/bbolt v1.3.7 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/term v0.22.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/term v0.23.0 // indirect
google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
40 changes: 13 additions & 27 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b0aaa89

Please sign in to comment.