-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gomod: Update dependencies and bump min Go version to 1.22.6 (#14084)
- Loading branch information
Showing
5 changed files
with
91 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ GOPATH ?= $(shell go env GOPATH) | |
CGO_LDFLAGS_ALLOW ?= (-Wl,-wrap,pthread_create)|(-Wl,-z,now) | ||
SPHINXENV=doc/.sphinx/venv/bin/activate | ||
SPHINXPIPPATH=doc/.sphinx/venv/bin/pip | ||
GOMIN=1.22.5 | ||
GOMIN=1.22.6 | ||
GOCOVERDIR ?= $(shell go env GOCOVERDIR) | ||
|
||
ifneq "$(wildcard vendor)" "" | ||
|
@@ -111,9 +111,17 @@ ifneq "$(LXD_OFFLINE)" "" | |
@echo "The update-gomod target cannot be run in offline mode." | ||
exit 1 | ||
endif | ||
go get -t -v -d -u ./... | ||
# Update gomod dependencies | ||
go get -t -v -u ./... | ||
|
||
# Static pins | ||
go get github.com/dell/[email protected] # Due to pending testing of newer version | ||
go get github.com/gorilla/[email protected] # Due to riscv64 crashes in LP | ||
go get github.com/openfga/api/[email protected] # Due to build errors (API breakages) | ||
go get github.com/openfga/[email protected] # Due to build errors (API breakages) | ||
|
||
# Enforce minimum go version | ||
go get toolchain@none # Use the bundled toolchain that meets the minimum go version | ||
go mod tidy -go=$(GOMIN) | ||
|
||
@echo "Dependencies updated" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.