Skip to content

Conversation

jpmcb
Copy link
Collaborator

@jpmcb jpmcb commented Jun 15, 2022

@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

- 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.

3 participants