chore: specify golangci-lint version and remove version declaration from config
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
|||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v4
|
uses: golangci/golangci-lint-action@v4
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: v1.64
|
||||||
skip-cache: true
|
skip-cache: true
|
||||||
|
|
||||||
# Test on primary Go version
|
# Test on primary Go version
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "2"
|
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- errcheck
|
- errcheck
|
||||||
|
|||||||
Reference in New Issue
Block a user