mirror of
https://github.com/go-task/task.git
synced 2026-08-29 10:08:27 +02:00
ci(renovate): stop dependency updates from bumping the go directive (#2951)
This commit is contained in:
5
.github/renovate.json
vendored
5
.github/renovate.json
vendored
@@ -50,6 +50,11 @@
|
|||||||
"matchManagers": ["gomod"],
|
"matchManagers": ["gomod"],
|
||||||
"matchDepTypes": ["golang"],
|
"matchDepTypes": ["golang"],
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Skip releases whose own `go` directive exceeds ours. Without this, `gomodTidy` propagates their requirement into our go.mod and breaks the older Go versions in the CI matrix.",
|
||||||
|
"matchManagers": ["gomod"],
|
||||||
|
"constraintsFiltering": "strict"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ type InvalidValueError struct {
|
|||||||
|
|
||||||
func (err InvalidValueError) Error() string {
|
func (err InvalidValueError) Error() string {
|
||||||
return fmt.Sprintf(
|
return fmt.Sprintf(
|
||||||
"task: Experiment %q has an invalid value %q (allowed values: %s)",
|
"task: Experiment %q has an invalid value %d (allowed values: %s)",
|
||||||
err.Name,
|
err.Name,
|
||||||
err.Value,
|
err.Value,
|
||||||
strings.Join(slicesext.Convert(err.AllowedValues, strconv.Itoa), ", "),
|
strings.Join(slicesext.Convert(err.AllowedValues, strconv.Itoa), ", "),
|
||||||
|
|||||||
Reference in New Issue
Block a user