discordmuffin/.golangci.yml
Fedor Lapshin 971184a542
CI (#1076)
* feat: ci barebones

* fix(.github/workflows): checkout

* feat(.golangci.yml): removed presets

* feat(workflows/ci): moved matrix to test job

* feat(golangci-lint): disabled all linters except golint

* fix(workflows/ci): golangci-lint action cache fix

* feat(workflows/ci): custom step with golangci-lint on normal commit

* feat(.github/workflows): moved setup-go into individual jobs

* feat(workflows/ci): only new lint issues for pull requests
2022-02-16 16:24:17 +03:00

19 lines
217 B
YAML

linters:
disable-all: true
enable:
# - staticcheck
# - unused
- golint
linters-settings:
staticcheck:
go: "1.13"
checks: ["all"]
unused:
go: "1.13"
issues:
include:
- EXC0002