Skip to content

Commit

Permalink
issue-24: Update Go
Browse files Browse the repository at this point in the history
  • Loading branch information
lowitea committed May 26, 2022
1 parent 57a2176 commit 1301322
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
autotests:
runs-on: ubuntu-latest
container: golang:1.17
container: golang:1.18

steps:
- uses: actions/checkout@v3
Expand All @@ -34,4 +34,4 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.44
version: v1.46.2
33 changes: 16 additions & 17 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,50 +13,49 @@ linters-settings:
linters:
disable-all: true
enable:
- asciicheck
- bidichk
- bodyclose
- deadcode
- depguard
- dupl
- durationcheck
- errcheck
- errname
- exportloopref
- exhaustive
- funlen
- goconst
- gocritic
- gocyclo
- godox
- gofmt
- revive
- goprintffuncname
- gosec
- gosimple
- govet
- ifshort
- importas
- ineffassign
- lll
- makezero
- misspell
- nakedret
- nestif
- nilnil
- nolintlint
- rowserrcheck
- prealloc
- predeclared
- promlinter
- revive
- staticcheck
- structcheck
- stylecheck
- tenv
- thelper
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
- asciicheck
- bidichk
- contextcheck
- durationcheck
- errname
- ifshort
- makezero
- nestif
- nilerr
- nilnil
- prealloc
- predeclared
- tenv
- thelper
- wastedassign
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/nuttech/bell/v2

go 1.17
go 1.18

0 comments on commit 1301322

Please sign in to comment.