Skip to content

Upgrade to go-githubactions v1.1.0 - #17

Merged
mdeggies merged 2 commits into
mainfrom
upgrade-go-githubactions
Nov 23, 2022
Merged

mdeggies merged 2 commits into
mainfrom
upgrade-go-githubactions

Conversation

@mdeggies

@mdeggies mdeggies commented Oct 19, 2022 •

Copy link
Copy Markdown
Member

Justification

The latest release of https://github.com/sethvargo/go-githubactions/releases/tag/v1.1.0 provides support for environment files for SetOutput and SaveState. Upgrading to this version will prevent this warning we're seeing across pipelines that use the action:

Screen Shot 2022-10-19 at 4 19 03 PM

Using this version also requires a go version of 1.18 or above, so I made that change in the dockerfile and go mod file.

Relates to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Quality

All changes to behavior should be accompanied by relevant tests which both document and protect it.

This PR includes:

  • New or updated tests which validate the new behavior. (Thank you!)
  • New or updated behavior which has been manually tested. (Please provide a link to relevant logs if this is the case.)
  • New or updated behavior which is not testable in a reasonable time frame. (Please ask for help if this is the case, more things are testable than we sometimes think!)
  • No new or changed behavior. (Just documentation, configuration, or pure refactoring.)

@mdeggies
mdeggies requested review from a team, marianoasselborn and smacfarlane and removed request for a team October 19, 2022 23:19
@mdeggies

mdeggies commented Nov 23, 2022 •

Copy link
Copy Markdown
Member Author

Hah, totally forgot about this one. Merging now & will cut a release shortly.
Update: https://github.com/hashicorp/actions-generate-metadata/releases/tag/v1.1.1 is live, and the v1 tag has been updated.

@mdeggies
mdeggies merged commit fdbc880 into main Nov 23, 2022
@mdeggies
mdeggies deleted the upgrade-go-githubactions branch November 23, 2022 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants