cisagov / skeleton-generic

A generic skeleton project for quickly getting a new cisagov project started.
Creative Commons Zero v1.0 Universal
13 stars 11 forks source link

Update Go installation in the `build.yml` workflow #113

Closed mcdonnnj closed 1 year ago

mcdonnnj commented 2 years ago

๐Ÿ—ฃ Description

This pull request is intended to supersede #110. It updates the version pin of actions/setup-go from v2 to v3 and updates how the installed Go version is retrieved. We also move from using Go 1.16 to 1.181.19.

๐Ÿ’ญ Motivation and context

Bumping the version of actions/setup-go we use keeps us up-to-date. Also with the release of v3.1.0 we can now remove the manual Go version retrieval step since the installed Go version is available as an Action output. Lastly support for Go 1.16 ended with the release of Go 1.18 so we need to update the version of Go we are installing.

๐Ÿงช Testing

Automated tests pass.

โœ… Pre-approval checklist