ci/gha: add Go 1.22, update various actions, add macos-12, ubuntu-24.04#137
Merged
ci/gha: add Go 1.22, update various actions, add macos-12, ubuntu-24.04#137
Conversation
Signed-off-by: Sebastiaan van Stijn <[email protected]>
From the GitHub actions documentation [1]; > The macos-11 label has been deprecated and will no longer be available > after 28 June 2024. [1]: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Signed-off-by: Sebastiaan van Stijn <[email protected]>
Upgrades Node.js runtime from node16 to node20 Signed-off-by: Sebastiaan van Stijn <[email protected]>
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. Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Commit d6a5209 removed most errorlint annotations, with one remaining. golangci-lint v1.59.1 comes with errorlint v1.5.2, which contains the fix [1] whitelisting all errno comparisons for errors coming from x/sys/unix. Remove the annotation that is no longer needed. [1]: polyfloyd/go-errorlint@c0e6cac Signed-off-by: Sebastiaan van Stijn <[email protected]>
Ubuntu 24.04 runners are now available (see [1]) [1]: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Signed-off-by: Sebastiaan van Stijn <[email protected]>
Add current macOS version, running on arm64 (see [1]) [1]: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Signed-off-by: Sebastiaan van Stijn <[email protected]>
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. Signed-off-by: Sebastiaan van Stijn <[email protected]>
vvoland
approved these changes
Jul 3, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.