Skip to content

Commit

Permalink
chore: update go to 1.18 and golangci-lint to 1.47.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoulard committed Aug 4, 2022
1 parent 5e973ec commit 2a404b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- '*'

env:
GO_VERSION: 1.17
GOLANGCI_LINT_VERSION: v1.43.0
GO_VERSION: 1.18
GOLANGCI_LINT_VERSION: v1.47.3
YAEGI_VERSION: v0.11.2

jobs:
Expand Down
8 changes: 7 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
linters:
enable-all: true
disable:
- exhaustivestruct # deprecated
- gochecknoglobals
- varnamelen # useless
- golint # deprecated
- interfacer # deprecated
- maligned # deprecated
- scopelint # deprecated
- tagliatelle # Breaking: 'Rule' tag -> 'rule'
- varnamelen # useless

issues:
exclude-rules:
- path: (.+)_test.go
linters:
- funlen
- exhaustivestruct
- exhaustruct

linters-settings:
cyclop:
Expand Down

0 comments on commit 2a404b8

Please sign in to comment.