Skip to content

Commit

Permalink
chore: upgrades go version to 1.22.5 in main (#1434)
Browse files Browse the repository at this point in the history
Closes #1433

(cherry picked from commit f03f8ec)

# Conflicts:
#	.github/workflows/check-generated.yml
#	.github/workflows/coverage.yml
#	.github/workflows/e2e-manual.yml
#	.github/workflows/e2e-nightly-34x.yml
#	.github/workflows/e2e.yml
#	.github/workflows/fuzz-nightly.yml
#	.github/workflows/govulncheck.yml
#	.github/workflows/pre-release.yml
#	.github/workflows/release-version.yml
#	.github/workflows/release.yml
#	.github/workflows/tests.yml
  • Loading branch information
staheri14 authored and mergify[bot] committed Jul 29, 2024
1 parent 3aea3d1 commit c19dc58
Show file tree
Hide file tree
Showing 17 changed files with 64 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ jobs:
- uses: actions/checkout@v4
- 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: Create a file with all the pkgs
run: go list ./... > pkgs.txt
- name: Split pkgs into 4 files
Expand Down Expand Up @@ -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: |
Expand All @@ -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: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-nightly-34x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/fuzz-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
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
Expand Down
2 changes: 1 addition & 1 deletion scripts/proto-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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 && \
Expand Down
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
Expand Down

0 comments on commit c19dc58

Please sign in to comment.