Repository navigation
Upgrade to go-githubactions v1.1.0 - #17
Merged
Merged
Conversation
mdeggies
requested review from
a team,
marianoasselborn and
smacfarlane
and removed request for
a team
October 19, 2022 23:19
claire-labry
approved these changes
Oct 19, 2022
samsalisbury
approved these changes
Oct 20, 2022
ryancragun
approved these changes
Nov 1, 2022
tomhjp
approved these changes
Nov 21, 2022
Member
Author
|
Hah, totally forgot about this one. Merging now & will cut a release shortly. |
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.
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:
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: