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

Read default version to go.mod version if present #154

Closed
stevenh opened this issue Aug 14, 2023 · 1 comment
Closed

Read default version to go.mod version if present #154

stevenh opened this issue Aug 14, 2023 · 1 comment

Comments

@stevenh
Copy link

stevenh commented Aug 14, 2023

It would nice if the default version could be discovered from the repo's go.mod version if present in the same vane as go-version-file for action/setup-go

steps:
  - uses: actions/checkout@v2
  # Installs version 1.26.0
  - uses: bufbuild/[email protected]
    with:
      go-version-file: go.mod
@emcfarlane
Copy link
Contributor

Hi @stevenh , the new buf-action is intended to address many of the issues with the previous set of actions. This feature however isn't currently supported. Please see the version docs for supported configs. Closing for now.

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

No branches or pull requests

2 participants