You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text: `${process.env.AS_WORKFLOW} ${{ job.status }} for ${process.env.AS_REPO}!\n${process.env.AS_JOB} job on ${process.env.AS_REF} (commit: ${process.env.AS_COMMIT}, version: ${{ steps.docker_meta.outputs.version }}) by ${process.env.AS_AUTHOR} took ${process.env.AS_TOOK}`,
- errcheck # checking for unchecked errors, these unchecked errors can be critical bugs in some cases
59
+
- gosimple # specializes in simplifying a code
60
+
- govet # reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
61
+
- ineffassign # detects when assignments to existing variables are not used
62
+
- staticcheck # is a go vet on steroids, applying a ton of static analysis checks
63
+
- typecheck # like the front-end of a Go compiler, parses and type-checks Go code
64
+
- unused # checks for unused constants, variables, functions and types
65
+
# extra enabled by us
66
+
- asasalint # checks for pass []any as any in variadic func(...any)
67
+
- asciicheck # checks that your code does not contain non-ASCII identifiers
68
+
- bidichk # checks for dangerous unicode character sequences
69
+
- bodyclose # checks whether HTTP response body is closed successfully
70
+
- cyclop # checks function and package cyclomatic complexity
71
+
- dupl # tool for code clone detection
72
+
- durationcheck # checks for two durations multiplied together
73
+
- dogsled # find assignments/declarations with too many blank identifiers
74
+
- errname # checks that sentinel errors are prefixed with the Err and error types are suffixed with the Error
75
+
- errorlint # finds code that will cause problems with the error wrapping scheme introduced in Go 1.13
76
+
- exhaustive # checks exhaustiveness of enum switch statements
77
+
- exptostd # detects functions from golang.org/x/exp/ that can be replaced by std functions
78
+
- copyloopvar # checks for pointers to enclosing loop variables
79
+
- fatcontext # detects nested contexts in loops and function literals
80
+
- forbidigo # forbids identifiers
81
+
- funlen # tool for detection of long functions
82
+
- gocheckcompilerdirectives # validates go compiler directive comments (//go:)
83
+
- goconst # finds repeated strings that could be replaced by a constant
84
+
- gocritic # provides diagnostics that check for bugs, performance and style issues
85
+
- gofmt # checks if the code is formatted according to 'gofmt' command
86
+
- goimports # in addition to fixing imports, goimports also formats your code in the same style as gofmt
87
+
- gomoddirectives # manages the use of 'replace', 'retract', and 'excludes' directives in go.mod
88
+
- gomodguard # allow and block lists linter for direct Go module dependencies. This is different from depguard where there are different block types for example version constraints and module recommendations
89
+
- goprintffuncname # checks that printf-like functions are named with f at the end
90
+
- gosec # inspects source code for security problems
91
+
- loggercheck # checks key value pairs for common logger libraries (kitlog,klog,logr,zap)
92
+
- makezero # finds slice declarations with non-zero initial length
93
+
- mirror # reports wrong mirror patterns of bytes/strings usage
94
+
- misspell # finds commonly misspelled English words
95
+
- nakedret # finds naked returns in functions greater than a specified function length
96
+
- nestif # reports deeply nested if statements
97
+
- nilerr # finds the code that returns nil even if it checks that the error is not nil
98
+
- nolintlint # reports ill-formed or insufficient nolint directives
99
+
- nosprintfhostport # checks for misuse of Sprintf to construct a host with port in a URL
100
+
- perfsprint # Golang linter for performance, aiming at usages of fmt.Sprintf which have faster alternatives
101
+
- predeclared # finds code that shadows one of Go's predeclared identifiers
102
+
- promlinter # checks Prometheus metrics naming via promlint
103
+
- reassign # checks that package variables are not reassigned
104
+
- revive # fast, configurable, extensible, flexible, and beautiful linter for Go, drop-in replacement of golint
105
+
- rowserrcheck # checks whether Err of rows is checked successfully
106
+
- sqlclosecheck # checks that sql.Rows and sql.Stmt are closed
107
+
- sloglint # A Go linter that ensures consistent code style when using log/slog
108
+
- tagliatelle # checks the struct tags.
109
+
- testableexamples # checks if examples are testable (have an expected output)
110
+
- tparallel # detects inappropriate usage of t.Parallel() method in your Go test codes
111
+
- usetesting # detects using os.Setenv instead of t.Setenv since Go1.17
112
+
- unconvert # removes unnecessary type conversions
113
+
- unparam # reports unused function parameters
114
+
- usestdlibvars # detects the possibility to use variables/constants from the Go standard library
- Start an empty cluster using `k8s-clusters/local-test/empty-cluster.sh`
4
+
- Build and push the controller to the cluster using `build-and-push-locally.sh <controller-version>`
5
+
- Deploy a service to the cluster, for example (running from `k8s-clusters/local-test`): `OWNER=kadaster TECHNICAL_NAME=ad docker-compose -f ./docker-compose.yaml -f ./bundle-pollers/docker-compose.services.yaml up kustomize-init`
0 commit comments