Update Amazon Linux version(s) used in Build & Test workflow #357
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.
Issue #, if available: #346
Description of changes:
Recently Github bumped up the minimum version of Node that could be used for github actions to Node 20. This change had the side effect of also bumping up the minimum supported version of glibc for actions to 2.27.
Prior to this PR, we used both Amazon Linux 1 and 2 for our build and test workflow. Unfortunately, AM1 uses glibc 2.17, and AM2 uses glibc 2.26.
Amazon Linux 1 was EOL'd Dec 31, 2023, and stopped receiving security updates Jan 1, 2024. After multiple extensions, Amazon Linux will be EOL'd June 30, 2026. Amazon's recommendation is to use Amazon Linux 2023, which will have full support until 2028.
This PR removes both Amazon Linux 1 and 2, and adds 2023 in their place. Once AL 2025 is available, we should add that as well.
In addition, this PR also cleans up the GHA job by fixing some
actionlint
warnings, which includes updating to checkout v4.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.