mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
GO linting bump and removal of deprecated linters (#5624)
* bump golangci-lint with support of go 1.19 Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com> * remove deprecated usage of varcheck, deadcode, and structcheck Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com> Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
This commit is contained in:
9
.github/workflows/golangci-lint.yml
vendored
9
.github/workflows/golangci-lint.yml
vendored
@@ -10,8 +10,7 @@ jobs:
|
||||
with:
|
||||
go-version: '1.19.0'
|
||||
- uses: actions/checkout@v3
|
||||
# See https://github.com/golangci/golangci-lint-action/issues/442#issuecomment-1203786890
|
||||
- name: Install golangci-lint
|
||||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.47.3
|
||||
- name: Run golangci-lint
|
||||
run: golangci-lint run --version --verbose --out-format=github-actions
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3.2.0
|
||||
with:
|
||||
version: v1.49.0
|
||||
|
||||
Reference in New Issue
Block a user