Skip to content

Update to use Go 1.20 (backport #405) - #419

Merged
thanethomson merged 5 commits into
v0.37.xfrom
mergify/bp/v0.37.x/pr-405
Feb 28, 2023
Merged

thanethomson merged 5 commits into
v0.37.xfrom
mergify/bp/v0.37.x/pr-405

Conversation

@mergify

@mergify mergify Bot commented Feb 28, 2023

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #405 done by Mergify.
Cherry-pick of 200784a has failed:

On branch mergify/bp/v0.37.x/pr-405
Your branch is up to date with 'origin/v0.37.x'.

You are currently cherry-picking commit 200784acb.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   .changelog/unreleased/breaking-changes/385-update-to-go1.20.md
	modified:   .github/workflows/build.yml
	modified:   .github/workflows/check-generated.yml
	modified:   .github/workflows/e2e-manual-multiversion.yml
	modified:   .github/workflows/e2e-manual.yml
	modified:   .github/workflows/e2e-nightly-main.yml
	modified:   .github/workflows/e2e.yml
	modified:   .github/workflows/fuzz-nightly.yml
	modified:   .github/workflows/govulncheck.yml
	modified:   .github/workflows/lint.yml
	modified:   .github/workflows/pre-release.yml
	modified:   .github/workflows/release.yml
	modified:   .github/workflows/tests.yml
	modified:   DOCKER/Dockerfile
	modified:   abci/example/example_test.go
	modified:   crypto/merkle/proof_key_path_test.go
	modified:   docs/tutorials/go-built-in.md
	modified:   docs/tutorials/go.md
	modified:   go.mod
	modified:   libs/rand/random_test.go
	modified:   scripts/proto-gen.sh
	modified:   test/e2e/docker/Dockerfile
	modified:   types/event_bus_test.go

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by us:   .github/workflows/e2e-nightly-37x.yml
	both modified:   README.md
	both modified:   libs/rand/random.go
	both modified:   test/fuzz/README.md
	both modified:   test/fuzz/p2p/secret_connection/read_write.go
	deleted by us:   test/fuzz/tests/mempool_test.go
	deleted by us:   test/fuzz/tests/rpc_jsonrpc_server_test.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* Bump minimum Go version to 1.20 in go.mod

Signed-off-by: Thane Thomson <[email protected]>

* Bump minimum Go version in CI/test infra

Signed-off-by: Thane Thomson <[email protected]>

* Bump Go version in docs

Signed-off-by: Thane Thomson <[email protected]>

* Add changelog entry

Signed-off-by: Thane Thomson <[email protected]>

* Ignore lint

Signed-off-by: Thane Thomson <[email protected]>

* Fix math/rand usages in tests

Signed-off-by: Thane Thomson <[email protected]>

* Fix lint: use local random source in test

Signed-off-by: Thane Thomson <[email protected]>

* Rename variable for clarity

Signed-off-by: Thane Thomson <[email protected]>

* ci: Bump version of golangci-lint to latest

Signed-off-by: Thane Thomson <[email protected]>

---------

Signed-off-by: Thane Thomson <[email protected]>
(cherry picked from commit 200784a)

# Conflicts:
#	.github/workflows/e2e-nightly-37x.yml
#	README.md
#	libs/rand/random.go
#	test/fuzz/README.md
#	test/fuzz/p2p/secret_connection/read_write.go
#	test/fuzz/tests/mempool_test.go
#	test/fuzz/tests/rpc_jsonrpc_server_test.go
@mergify
mergify Bot requested a review from a team as a code owner February 28, 2023 19:11
@mergify mergify Bot added the conflicts label Feb 28, 2023
Signed-off-by: Thane Thomson <[email protected]>
@thanethomson
thanethomson merged commit f2bf249 into v0.37.x Feb 28, 2023
@thanethomson
thanethomson deleted the mergify/bp/v0.37.x/pr-405 branch February 28, 2023 19:59
mergify Bot pushed a commit that referenced this pull request Mar 1, 2023
As of #419, we now use Go 1.20 on the `v0.37.x` branch.

This is already up-to-date on the `v0.37.x` branch itself: https://github.com/cometbft/cometbft/tree/v0.37.x#minimum-requirements

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments
@lasarojc lasarojc mentioned this pull request Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant