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: add explicit go directive #19

Merged
merged 12 commits into from
Jul 26, 2022
Merged

fix: add explicit go directive #19

merged 12 commits into from
Jul 26, 2022

Conversation

kruskall
Copy link
Member

A missing go directive can lead to inconsistent
behaviour between go versions.

See https://go.dev/doc/go1.17#missing-go-directive

Add an explicit directive to target Go 1.17.

kruskall added 2 commits July 21, 2022 13:28
A missing go directive can lead to inconsistent
behaviour between go versions.

See https://go.dev/doc/go1.17#missing-go-directive

Add an explicit directive to target Go 1.17.
@elasticmachine
Copy link

elasticmachine commented Jul 21, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-07-26T20:28:24.379+0000

  • Duration: 9 min 22 sec

kruskall added 4 commits July 21, 2022 14:59
As of Go 1.16 module-aware mode is enabled by default so
GO111MODULE=on is no longer needed.

See https://go.dev/doc/go1.16#go-command

This should also help with forward compatibility as
GOPATH and GO111MODULE will be removed in the future,

See https://github.com/golang/go/wiki/GOPATH#deprecating-and-removing-gopath-development-mode
.ci/scripts/test.bat Outdated Show resolved Hide resolved
.ci/scripts/test.bat Outdated Show resolved Hide resolved
@kruskall kruskall requested a review from andrewkroh July 25, 2022 22:07
.ci/scripts/test.sh Outdated Show resolved Hide resolved
@kruskall
Copy link
Member Author

/test

1 similar comment
@kruskall
Copy link
Member Author

/test

@kruskall kruskall merged commit 548f212 into main Jul 26, 2022
@kruskall kruskall deleted the fix/add-go-directive branch July 26, 2022 22:26
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.

3 participants