mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
update go ci linter run with --new-from-rev=origin/main
This commit is contained in:
parent
16117eb7cd
commit
4c497bb816
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ func doLint(cmdline []string) {
|
|||
}
|
||||
|
||||
linter := downloadLinter(*cachedir)
|
||||
lflags := []string{"run", "--config", ".golangci.yml"}
|
||||
lflags := []string{"run", "--config", ".golangci.yml", "--new-from-rev=origin/main"}
|
||||
build.MustRunCommandWithOutput(linter, append(lflags, packages...)...)
|
||||
fmt.Println("You have achieved perfection.")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue