Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions excavator_fail/excavator_fail.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package fail

fail

/*
This is a non-compiling file that has been added to explicitly ensure that CI fails.
It also contains the command that caused the failure and its output.
Remove this file if debugging locally.

go mod operation failed. This may mean that there are legitimate dependency issues with the "go.mod" definition in the repository and the updates performed by the gomod check. This branch can be cloned locally to debug the issue.

Command that caused error:
./godelw lint compiles

Output:
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:42:54: undefined: goheader.Configuration
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:17:20: undefined: goheader.Configuration
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:19:20: undefined: goheader.Configuration
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:58:29: undefined: goheader.WithTemplate
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:58:62: undefined: goheader.WithValues
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:58:53: too many arguments in call to goheader.New
have (unknown type, unknown type)
want (*"github.com/denis-tingaikin/go-header".Settings)
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:66:14: a.Analyze undefined (type *analysis.Analyzer has no field or method Analyze)
generated_src/golangcilint/internal/github.com/golangci/golangci-lint/v2/pkg/golinters/goheader/goheader.go:66:32: undefined: goheader.Target
8 issues:
* compiles: 8

*/
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ require (
github.com/ckaznocha/intrange v0.3.1
github.com/curioswitch/go-reassign v0.3.0
github.com/daixiang0/gci v0.13.7
github.com/denis-tingaikin/go-header v0.5.0
github.com/denis-tingaikin/go-header v1.0.0
github.com/fatih/color v1.18.0
github.com/firefart/nonamedreturns v1.0.6
github.com/fzipp/gocyclo v0.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ github.com/dave/jennifer v1.7.1/go.mod h1:nXbxhEmQfOZhWml3D1cDK5M1FLnMSozpbFN/m3
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/denis-tingaikin/go-header v0.5.0 h1:SRdnP5ZKvcO9KKRP1KJrhFR3RrlGuD+42t4429eC9k8=
github.com/denis-tingaikin/go-header v0.5.0/go.mod h1:mMenU5bWrok6Wl2UsZjy+1okegmwQ3UgWl4V1D8gjlY=
github.com/denis-tingaikin/go-header v1.0.0 h1:QIwZWb3jLC6pOp9NEFldiD8raqRmCE/n0VUdZKW32x8=
github.com/denis-tingaikin/go-header v1.0.0/go.mod h1:NT3qKwqsXQYp8WHVgkwxL49qB5jsRmdr9dGQCDfpmZ0=
github.com/dlclark/regexp2 v1.11.5 h1:Q/sSnsKerHeCkc/jSTNq1oCm7KiVgUMZRDUoRu0JQZQ=
github.com/dlclark/regexp2 v1.11.5/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
github.com/docker/cli v29.0.3+incompatible h1:8J+PZIcF2xLd6h5sHPsp5pvvJA+Sr2wGQxHkRl53a1E=
Expand Down
11 changes: 5 additions & 6 deletions vendor/github.com/denis-tingaikin/go-header/.go-header.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 60 additions & 12 deletions vendor/github.com/denis-tingaikin/go-header/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading