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

Fix go directive version in go.mod #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mauri870
Copy link
Contributor

@mauri870 mauri870 commented Jul 4, 2024

According to https://go.dev/issues/62278 a concrete go version has to include the patch number or an additional toolchain directive. The project declares the version as 1.21 which is invalid and will result in an error:

GOTOOLCHAIN="go1.20+auto" go1.21.5 mod tidy
go: downloading go1.21 (linux/amd64)
go: download go1.21 for linux/amd64: toolchain not available

Changed to 1.21.0 as this is the first actual release of go 1.21.

According to https://go.dev/issues/62278 a concrete go version has to include the
patch number or an additional toolchain directive. The project declares the
version as 1.21 which is invalid and will result in an error:

	GOTOOLCHAIN="go1.20+auto" go1.21.5 mod tidy
	go: downloading go1.21 (linux/amd64)
	go: download go1.21 for linux/amd64: toolchain not available

Changed to 1.21.0 as this is the first actual release of go 1.21.
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.79%. Comparing base (1e295e0) to head (dc50d10).
Report is 11 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #228      +/-   ##
==========================================
+ Coverage   70.89%   72.79%   +1.89%     
==========================================
  Files          55       54       -1     
  Lines        8809     9655     +846     
==========================================
+ Hits         6245     7028     +783     
- Misses       1675     1732      +57     
- Partials      889      895       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

2 participants