ci/gha: add Go 1.22, update various actions, add macos-12, ubuntu-24.04 #137
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
user: gofumpt
ci/gha: remove macos-11 (deprecated), update to macos-12
From the GitHub actions documentation 1;
ci/gha: bump actions/setup-go to v5
Upgrades Node.js runtime from node16 to node20
ci/gha: bump actions/checkout to v4
Only a single commit is fetched by default, for the ref/SHA that triggered
the workflow. Set fetch-depth: 0 to fetch all history for all branches and
tags.
Makefile: bump golangci-lint to v1.59.1
mountinfo: rm unneeded errorlint annotation
Commit d6a5209 removed most errorlint
annotations, with one remaining.
golangci-lint v1.59.1 comes with errorlint v1.5.2, which contains
the fix 2 whitelisting all errno comparisons for errors coming from
x/sys/unix. Remove the annotation that is no longer needed.
ci/gha: add ubuntu-24.04 (current LTS)
Ubuntu 24.04 runners are now available (see 3)
ci/gha: add macos-14 (m1, arm64)
Add current macOS version, running on arm64 (see 4)
ci/gha: drop Go 1.20, add Go 1.22
Test with the current stable version of Go; keeping Go 1.17 as lower
boundary for now since it costs us little to keep supporting it.