Skip to content

Commit

Permalink
ci: bump to golang v1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yang committed Dec 6, 2023
1 parent f24d2a2 commit c41df2b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
cache: false # the golangci-lint action already caches for us (https://github.com/golangci/golangci-lint-action#performance)

# Use GitHub actions output paramters to get go paths. For more info, see
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
cache: true

# Use GitHub actions output paramters to get go paths. For more info, see
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
cache: true
- uses: actions/cache@v3
with:
Expand All @@ -33,7 +33,7 @@ jobs:
go.sum
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
cache: true
if: env.GIT_DIFF
- uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
cache: true

# Use GitHub actions output paramters to get go paths. For more info, see
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21

- name: Build the nibid binary
run: make build
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS builder
FROM golang:1.21 AS builder

WORKDIR /nibiru

Expand Down
2 changes: 1 addition & 1 deletion contrib/docker/chaosnet.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS builder
FROM golang:1.21 AS builder

WORKDIR /nibiru

Expand Down
2 changes: 1 addition & 1 deletion contrib/docker/goreleaser.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS builder
FROM golang:1.21 AS builder

WORKDIR /root
COPY dist/ /root/
Expand Down
2 changes: 1 addition & 1 deletion contrib/make/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
###############################################################################

PACKAGE_NAME := github.com/NibiruChain/nibiru
GOLANG_CROSS_VERSION ?= v1.19.4
GOLANG_CROSS_VERSION ?= v1.21.4

release:
docker run \
Expand Down

0 comments on commit c41df2b

Please sign in to comment.