chore: pin GH commits and switch to golangci-lint (#4444)

* chore: pin GH commits

* switch to golangci-lint-action

* fix lint issues
This commit is contained in:
David Zhao
2026-04-11 13:04:22 -07:00
committed by GitHub
parent 2974ba879f
commit 4b3856125c
37 changed files with 127 additions and 108 deletions
+1 -4
View File
@@ -198,10 +198,7 @@ func getConfig(c *cli.Command) (*config.Config, error) {
return nil, err
}
strictMode := true
if c.Bool("disable-strict-config") {
strictMode = false
}
strictMode := !c.Bool("disable-strict-config")
conf, err := config.NewConfig(confString, strictMode, c, baseFlags)
if err != nil {