b3bcee469c
The commit adds Github Actions and Dockerfile for building a multi arch Go image
29 lines
No EOL
643 B
YAML
29 lines
No EOL
643 B
YAML
linters:
|
|
enable:
|
|
- misspell
|
|
- revive
|
|
disable:
|
|
- deadcode
|
|
- unused
|
|
- structcheck
|
|
- varcheck
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
exclude-functions:
|
|
# Used in HTTP handlers, any error is handled by the server itself.
|
|
- (net/http.ResponseWriter).Write
|
|
# Never check for logger errors.
|
|
- (github.com/go-kit/log.Logger).Log
|
|
revive:
|
|
rules:
|
|
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
|
|
- name: unused-parameter
|
|
severity: warning
|
|
disabled: true |