mirror of
https://github.com/goreleaser/nfpm
synced 2026-11-29 21:24:45 +01:00
* chore: update Go to 1.27.4 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * ci: read govulncheck Go version from go.mod Address review feedback by using go-version-file and clearing the action's default stable version input. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a
57 lines
963 B
YAML
57 lines
963 B
YAML
version: "2"
|
|
run:
|
|
go: "1.27"
|
|
linters:
|
|
enable:
|
|
- depguard
|
|
- forbidigo
|
|
- misspell
|
|
- revive
|
|
- tagliatelle
|
|
- testifylint
|
|
- thelper
|
|
- tparallel
|
|
- unconvert
|
|
- usetesting
|
|
- unparam
|
|
- wastedassign
|
|
settings:
|
|
depguard:
|
|
rules:
|
|
main:
|
|
deny:
|
|
- pkg: github.com/pkg/errors
|
|
desc: use stdlib instead
|
|
forbidigo:
|
|
forbid:
|
|
- pattern: ioutil\.*
|
|
tagliatelle:
|
|
case:
|
|
rules:
|
|
json: snake
|
|
yaml: snake
|
|
use-field-name: false
|
|
testifylint:
|
|
disable:
|
|
- encoded-compare
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gofumpt
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|