mirror of https://github.com/knative/docs.git
[main] Upgrade to latest dependencies (#5929)
* upgrade to latest dependencies bumping knative.dev/hack 7e71024...47368d6: > 47368d6 Check licenses only, but not bundle them (# 376) > b985a5b Update community files (# 377) Signed-off-by: Knative Automation <automation@knative.team> * Fix unit-tests --------- Signed-off-by: Knative Automation <automation@knative.team> Co-authored-by: Reto Lehmann <retocode@icloud.com>
This commit is contained in:
parent
f944808b7a
commit
301cb8499a
|
@ -78,7 +78,7 @@ cd knative-docs/code-samples/serving/hello-world/helloworld-nodejs
|
|||
"author": "",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"express": "^4.18.2"
|
||||
"express": "^4.19.2"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
2
go.mod
2
go.mod
|
@ -14,7 +14,7 @@ require (
|
|||
google.golang.org/grpc v1.36.0
|
||||
gopkg.in/go-playground/webhooks.v3 v3.13.0
|
||||
gopkg.in/yaml.v2 v2.3.0
|
||||
knative.dev/hack v0.0.0-20240327124551-7e71024d29bd
|
||||
knative.dev/hack v0.0.0-20240327150553-47368d631660
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
4
go.sum
4
go.sum
|
@ -519,8 +519,8 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
|
|||
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
honnef.co/go/tools v0.0.1-2020.1.5 h1:nI5egYTGJakVyOryqLs1cQO5dO0ksin5XXs2pspk75k=
|
||||
honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
knative.dev/hack v0.0.0-20240327124551-7e71024d29bd h1:tSFFAPYhN5d39ze+orScRvg43V85GaaSkUiDdLqZZ3I=
|
||||
knative.dev/hack v0.0.0-20240327124551-7e71024d29bd/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
|
||||
knative.dev/hack v0.0.0-20240327150553-47368d631660 h1:tW6NgyjMnSXBS75+k+Xh5uNiLhJ9TFswS9hrkC3OQOc=
|
||||
knative.dev/hack v0.0.0-20240327150553-47368d631660/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
|
||||
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
||||
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
||||
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
|
||||
|
|
|
@ -772,8 +772,8 @@ function __go_update_deps_for_module() {
|
|||
remove_broken_symlinks ./vendor
|
||||
fi
|
||||
|
||||
group "Updating licenses"
|
||||
update_licenses third_party/VENDOR-LICENSE "./..."
|
||||
group "Checking licenses"
|
||||
check_licenses
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -809,18 +809,6 @@ function run_kntest() {
|
|||
go_run knative.dev/test-infra/tools/kntest/cmd/kntest@latest "$@"
|
||||
}
|
||||
|
||||
# Run go-licenses to update licenses.
|
||||
# Parameters: $1 - output file, relative to repo root dir.
|
||||
# $2 - directory to inspect.
|
||||
function update_licenses() {
|
||||
local dst=$1
|
||||
local dir=$2
|
||||
shift
|
||||
go_run github.com/google/go-licenses@v1.6.0 \
|
||||
save "${dir}" --save_path="${dst}" --force || \
|
||||
{ echo "--- FAIL: go-licenses failed to update licenses"; return 1; }
|
||||
}
|
||||
|
||||
# Run go-licenses to check for forbidden licenses.
|
||||
function check_licenses() {
|
||||
# Check that we don't have any forbidden licenses.
|
||||
|
|
|
@ -300,7 +300,7 @@ gopkg.in/go-playground/webhooks.v3/github
|
|||
gopkg.in/yaml.v2
|
||||
# honnef.co/go/tools v0.0.1-2020.1.5
|
||||
## explicit; go 1.11
|
||||
# knative.dev/hack v0.0.0-20240327124551-7e71024d29bd
|
||||
# knative.dev/hack v0.0.0-20240327150553-47368d631660
|
||||
## explicit; go 1.18
|
||||
knative.dev/hack
|
||||
# go.opencensus.io => go.opencensus.io v0.20.2
|
||||
|
|
Loading…
Reference in New Issue