Skip to content

Update to use Go 1.20 - #405

Merged
thanethomson merged 10 commits into
mainfrom
thane/385-update-to-go1.20
Feb 28, 2023
Merged

thanethomson merged 10 commits into
mainfrom
thane/385-update-to-go1.20

Conversation

@thanethomson

Copy link
Copy Markdown
Contributor

Relates to #385.

We are still considering applying this to our v0.37.0 release.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@thanethomson
thanethomson requested a review from a team as a code owner February 27, 2023 19:00
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
@thanethomson

Copy link
Copy Markdown
Contributor Author

I need to fix a few linter complaints here first before merging. Will do that soon.

@thanethomson
thanethomson merged commit 200784a into main Feb 28, 2023
@thanethomson
thanethomson deleted the thane/385-update-to-go1.20 branch February 28, 2023 19:10
mergify Bot pushed a commit that referenced this pull request Feb 28, 2023
* 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
thanethomson added a commit that referenced this pull request Feb 28, 2023
* Update to use Go 1.20 (#405)

* 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

* Resolve conflicts

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

* Remove use of deprecated global random seed

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

* Attempt to appease linter

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

* Attempt 2 to appease linter

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

---------

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: Thane Thomson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants