diff --git a/Makefile b/Makefile index d8be8c8..f29ccf6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # renovate: datasource=github-releases depName=mvdan/gofumpt GOFUMPT_PACKAGE_VERSION := v0.4.0 # renovate: datasource=github-releases depName=golangci/golangci-lint -GOLANGCI_LINT_PACKAGE_VERSION := v1.51.2 +GOLANGCI_LINT_PACKAGE_VERSION := v1.52.0 EXECUTABLE := drone-yaml diff --git a/yaml/linter/config.go b/yaml/linter/config.go index 936d989..28286fd 100644 --- a/yaml/linter/config.go +++ b/yaml/linter/config.go @@ -27,7 +27,7 @@ var ErrCyclicalPipelineDependency = errors.New("linter: cyclical pipeline depend var ErrPipelineSelfDependency = errors.New("linter: pipeline cannot have a dependency on itself") // Manifest performs lint operations for a manifest. -func Manifest(manifest *yaml.Manifest, trusted bool) error { +func Manifest(manifest *yaml.Manifest) error { return checkPipelines(manifest) }