Skip to content

Commit

Permalink
chore: update linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jan 3, 2022
1 parent 03761c6 commit 9108fa5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-cross.yml
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
go-version: [ 1.16, 1.x ]
go-version: [ 1.16, 1.17, 1.x ]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -14,8 +14,8 @@ jobs:
name: Main Process
runs-on: ubuntu-latest
env:
GO_VERSION: 1.16
GOLANGCI_LINT_VERSION: v1.39.0
GO_VERSION: 1.17
GOLANGCI_LINT_VERSION: v1.43.0
CGO_ENABLED: 0

steps:
Expand Down Expand Up @@ -43,7 +43,6 @@ jobs:
- name: Check and get dependencies
run: |
go mod download
go mod tidy
git diff --exit-code go.mod
git diff --exit-code go.sum
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Expand Up @@ -48,6 +48,7 @@ linters-settings:
linters:
enable-all: true
disable:
- golint # deprecated
- maligned # deprecated
- interfacer # deprecated
- scopelint # deprecated
Expand All @@ -69,6 +70,8 @@ linters:
- prealloc
- ifshort
- forcetypeassert
- varnamelen
- nilnil

issues:
exclude-use-default: false
Expand Down

0 comments on commit 9108fa5

Please sign in to comment.