-
Notifications
You must be signed in to change notification settings - Fork 0
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
go.mod: move to Go 1.17 #724
Conversation
.github/workflows/ci.yaml
Outdated
@@ -41,7 +41,7 @@ jobs: | |||
run: | | |||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |||
echo "MOD_PATH=$(go env GOPATH)/pkg/mod" >> $GITHUB_ENV | |||
- uses: actions/cache@v1 | |||
- uses: actions/cache@v2 | |||
with: | |||
path: ${{ env.MOD_PATH }} |
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.
FWIW, the official doc uses:
path: |
~/.cache/go-build
~/go/pkg/mod
maybe we don't need MOD_PATH
either?
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.
Yep, worth checking. I don't remember where this MOD_PATH came from. Probably that was in the docs for cache@v1.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
go mod tidy adds more requirements because of the changes in 1.17: "Go versions 1.17 and higher retain more requirements in order to support lazy module loading." Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Codecov Report
@@ Coverage Diff @@
## main #724 +/- ##
=======================================
Coverage 60.06% 60.06%
=======================================
Files 32 32
Lines 2782 2782
=======================================
Hits 1671 1671
Misses 1028 1028
Partials 83 83 Continue to review full report at Codecov.
|
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.
Seems to work OK.
go mod tidy adds more requirements because of the changes in 1.17:
"Go versions 1.17 and higher retain more requirements in order to
support lazy module loading."
Closes: #716
Signed-off-by: Mikko Ylinen mikko.ylinen@intel.com