-
Notifications
You must be signed in to change notification settings - Fork 534
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
docs: go-version-file for other use cases #295
base: main
Are you sure you want to change the base?
Conversation
see actions/setup-go#295 (cherry picked from commit 0105608)
see actions/setup-go#295 (cherry picked from commit 0105608)
see actions/setup-go#295 (cherry picked from commit 0105608)
see actions/setup-go#295 (cherry picked from commit cf5c762) # Conflicts: # .github/workflows/golangci-lint.yml
see actions/setup-go#295 (cherry picked from commit cf5c762)
see actions/setup-go#295 (cherry picked from commit cf5c762)
see actions/setup-go#295 (cherry picked from commit 3d8e3c7)
see actions/setup-go#295 (cherry picked from commit 3d8e3c7)
see actions/setup-go#295 (cherry picked from commit d0393ab)
see actions/setup-go#295 (cherry picked from commit 3d8e3c7) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit 3d8e3c7) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit cf5c762) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit cf5c762) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit 0105608) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit 0105608) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit 0105608) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit 1ccbb4a) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit 1ccbb4a) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit d0393ab) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit d0393ab) Co-authored-by: Victor Martinez <[email protected]>
see actions/setup-go#295 (cherry picked from commit 1ccbb4a) Co-authored-by: Victor Martinez <[email protected]>
README.md
Outdated
|
||
### If the go.mod file | ||
|
||
The `go-version-file` input accepts a path to a `go.mod` file or a `go.work` file that contains the version of Go to be used by a project. As the `go.mod` file contains only major and minor (e.g. 1.18) tags, the action will follow the above-mentioned approach. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be useful to mention the go-version
output here
Line 23 in 41c2024
go-version: |
as it makes it easier to know what go version was resolved to from the go.mod
file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See fde5dd2
…sion * upstream/main: (47 commits) Fix Install on Windows is very slow (actions#393) Bump word-wrap from 1.2.3 to 1.2.4 Fix licensing for Semver 6.3.1 Rebuild after updating Semver Bump semver from 6.3.0 to 6.3.1 Bump tough-cookie and @azure/ms-rest-js (actions#392) Limit to Linux only Add imageOS to primaryKey Add note about YAML parsing versions (actions#382) Added a description that go-version should be specified as a string type (actions#367) Update action.yml (actions#379) Move eslint-plugin-node to dev dependencies Install eslint-plugin-node Update configuration files Bump @actions/cache dependency to v3.2.1 (actions#374) Update xml2js (actions#370) Fix glob bug in package.json scripts section (actions#359) update README fo v4 (actions#354) Update configuration files (actions#348) Add Go bin if go-version input is empty (actions#351) ...
add example for using .tool-versions
Description:
Update the docs to reflect the use case for the
go-version-file: .go-version
that I've just found it was implemented in #62Related issue:
Add link to the related issue.
Check list: