Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds check-latest for setup-go action v3 #1729

Closed
wants to merge 1 commit into from
Closed

Conversation

jpmcb
Copy link
Collaborator

@jpmcb jpmcb commented Jun 15, 2022

Signed-off-by: John McBride <jpmmcbride@gmail.com>
@github-actions github-actions bot added area/github For changes to Github specific things not shipped in the library size/XS Denotes a PR that changes 0-9 lines labels Jun 15, 2022
@@ -16,6 +16,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '1.17'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is go-version required if we use check-latest?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes; it is "checking for the latest" on Go 1.17. So, in order to find the latest patch version, we need that option. We shouldn't be consuming base Go 1.17

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess my question is why do we want to use "the latest on Go 1.17", instead of "the latest Go", which is 1.18 ATM.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fair - I'm up for that. Let me look into it quick!

@marckhouzam
Copy link
Collaborator

I just merged #1782 which I realize includes this PR 🤷‍♂️, so I'm going to close this as done.

@jpmcb jpmcb deleted the check-latest branch September 29, 2022 00:20
@jpmcb
Copy link
Collaborator Author

jpmcb commented Sep 29, 2022

No worries! Thanks Marc!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/github For changes to Github specific things not shipped in the library size/XS Denotes a PR that changes 0-9 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants