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

Github actions: automatically deduce Go version #1034

Open
4 tasks
halamix2 opened this issue Jun 26, 2024 · 0 comments
Open
4 tasks

Github actions: automatically deduce Go version #1034

halamix2 opened this issue Jun 26, 2024 · 0 comments

Comments

@halamix2
Copy link
Member

Description

Instead of hardcoding Go versin in each workflow, we can tell setup-go action to retrieve Go version from the go.mod file:

- uses: actions/setup-go@v5
  with:
    go-version-file: "go.mod"
    cache-dependency-path: "go.sum"
  • update workflows in serverless
  • update workflows in keda
  • update workflows in warden
  • update workflows in docker-registry

Reasons

One source of go version

Attachments

@halamix2 halamix2 changed the title Github actions: automatically deduce go version Github actions: automatically deduce Go version Jun 27, 2024
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

1 participant