Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrades go version to 1.22.5 in main (backport #1434) #1436

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/check-generated.yml
Original file line number Diff line number Diff line change
@@ -43,7 +43,11 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: "1.22.2"
=======
go-version: "1.22.5"
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))

- uses: actions/checkout@v4
with:
14 changes: 14 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushed without resolving merge conflicts

go-version: "1.22.2"
=======
go-version: "1.22.5"
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))
- name: Create a file with all the pkgs
run: go list ./... > pkgs.txt
- name: Split pkgs into 4 files
@@ -48,8 +52,13 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: "1.22.2"
- uses: actions/checkout@v4
=======
go-version: "1.22.5"
- uses: actions/checkout@v3
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
@@ -70,8 +79,13 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: "1.22.2"
- uses: actions/checkout@v4
=======
go-version: "1.22.5"
- uses: actions/checkout@v3
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
4 changes: 4 additions & 0 deletions .github/workflows/e2e-manual.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,11 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: '1.22.2'
=======
go-version: '1.22.5'
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))

- uses: actions/checkout@v4

4 changes: 4 additions & 0 deletions .github/workflows/e2e-nightly-34x.yml
Original file line number Diff line number Diff line change
@@ -23,7 +23,11 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: '1.22.2'
=======
go-version: '1.22.5'
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))

- uses: actions/checkout@v4
with:
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,11 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: '1.22.2'
=======
go-version: '1.22.5'
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
with:
4 changes: 4 additions & 0 deletions .github/workflows/fuzz-nightly.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,11 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: '1.22.2'
=======
go-version: '1.22.5'
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))

- uses: actions/checkout@v4

4 changes: 4 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,11 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
<<<<<<< HEAD
go-version: "1.22.2"
=======
go-version: "1.22.5"
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
with:
4 changes: 4 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,11 @@ jobs:

- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: '1.22.2'
=======
go-version: '1.22.5'
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))

# Similar check to ./release-version.yml, but enforces this when pushing
# tags. The ./release-version.yml check can be bypassed and is mainly
4 changes: 4 additions & 0 deletions .github/workflows/release-version.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,11 @@ jobs:

- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: '1.22.2'
=======
go-version: '1.22.5'
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))

- name: Check version
run: |
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,11 @@ jobs:

- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: '1.22.2'
=======
go-version: '1.22.5'
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))

- name: Generate release notes
run: |
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,11 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
<<<<<<< HEAD
go-version: "1.22.2"
=======
go-version: "1.22.5"
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
with:
@@ -121,7 +125,11 @@ jobs:
# steps:
# - uses: actions/setup-go@v3
# with:
<<<<<<< HEAD
# go-version: "1.22.2"
=======
# go-version: "1.22.5"
>>>>>>> f03f8ec17 (chore: upgrades go version to 1.22.5 in main (#1434))
# - uses: actions/checkout@v3
# - uses: technote-space/get-diff-action@v6
# with:
2 changes: 1 addition & 1 deletion DOCKER/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Use a build arg to ensure that both stages use the same,
# hopefully current, go version.
ARG GOLANG_BASE_IMAGE=golang:1.22.4-alpine
ARG GOLANG_BASE_IMAGE=golang:1.22.5-alpine

# stage 1 Generate CometBFT Binary
FROM --platform=$BUILDPLATFORM $GOLANG_BASE_IMAGE as builder
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ This repo intends on preserving the minimal possible diff with [cometbft/cometbf
- **specific to Celestia**: consider if [celestia-app](https://github.com/celestiaorg/celestia-app) is a better target
- **not specific to Celestia**: consider making the contribution upstream in CometBFT

1. [Install Go](https://go.dev/doc/install) 1.22.4+
1. [Install Go](https://go.dev/doc/install) 1.22.5+
2. Fork this repo
3. Clone your fork
4. Find an issue to work on (see [good first issues](https://github.com/celestiaorg/celestia-core/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22))
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/tendermint/tendermint

go 1.22.4
go 1.22.5

require (
github.com/BurntSushi/toml v1.2.1
2 changes: 1 addition & 1 deletion scripts/proto-gen.sh
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ cd "$(git rev-parse --show-toplevel)"

# Run inside Docker to install the correct versions of the required tools
# without polluting the local system.
docker run --rm -i -v "$PWD":/w --workdir=/w golang:1.22.4-alpine sh <<"EOF"
docker run --rm -i -v "$PWD":/w --workdir=/w golang:1.22.5-alpine sh <<"EOF"
apk add git make
go install github.com/bufbuild/buf/cmd/buf
2 changes: 1 addition & 1 deletion test/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.4
FROM golang:1.22.5

# Grab deps (jq, hexdump, xxd, killall)
RUN apt-get update && \
2 changes: 1 addition & 1 deletion test/e2e/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# We need to build in a Linux environment to support C libraries, e.g. RocksDB.
# We use Debian instead of Alpine, so that we can use binary database packages
# instead of spending time compiling them.
FROM golang:1.22.4-bullseye
FROM golang:1.22.5-bullseye

RUN apt-get -qq update -y && apt-get -qq upgrade -y >/dev/null
RUN apt-get -qq install -y libleveldb-dev librocksdb-dev >/dev/null
Loading