Bump actions/setup-go from 4 to 5
Description of the issue
We bumped the go version directive in the go.mod as part of https://github.com/aws/amazon-cloudwatch-agent/pull/1623, but didn't change the GitHub workflows, so all the tests are still building with 1.22.
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/14800157263/job/41557092944
Run actions/setup-go@v4 Setup go version spec ~1.22.2 Found in cache @ /opt/hostedtoolcache/go/1.22.12/x64 Added go to the path Successfully set up Go version ~1.22.2 go version go1.22.12 linux/amd64
Description of changes
Bump go version used from 1.22.2 to 1.24.2 in the GitHub workflows and bumped action/setup-go version to 5.
License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Tests
Describe what tests you have done.
Requirements
Before commit the code, please do the following steps.
- Run
make fmtandmake fmt-sh - Run
make lint
This PR was marked stale due to lack of activity.
This PR was marked stale due to lack of activity.