Skip to content

Commit 1301322

Browse files
committed
issue-24: Update Go
1 parent 57a2176 commit 1301322

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
autotests:
1111
runs-on: ubuntu-latest
12-
container: golang:1.17
12+
container: golang:1.18
1313

1414
steps:
1515
- uses: actions/checkout@v3
@@ -34,4 +34,4 @@ jobs:
3434
- name: Run golangci-lint
3535
uses: golangci/golangci-lint-action@v3
3636
with:
37-
version: v1.44
37+
version: v1.46.2

.golangci.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,50 +13,49 @@ linters-settings:
1313
linters:
1414
disable-all: true
1515
enable:
16+
- asciicheck
17+
- bidichk
1618
- bodyclose
1719
- deadcode
1820
- depguard
1921
- dupl
22+
- durationcheck
2023
- errcheck
24+
- errname
2125
- exportloopref
2226
- exhaustive
2327
- funlen
2428
- goconst
2529
- gocritic
2630
- gocyclo
31+
- godox
2732
- gofmt
28-
- revive
2933
- goprintffuncname
3034
- gosec
3135
- gosimple
3236
- govet
37+
- ifshort
38+
- importas
3339
- ineffassign
3440
- lll
41+
- makezero
3542
- misspell
3643
- nakedret
44+
- nestif
45+
- nilnil
3746
- nolintlint
38-
- rowserrcheck
47+
- prealloc
48+
- predeclared
49+
- promlinter
50+
- revive
3951
- staticcheck
4052
- structcheck
4153
- stylecheck
54+
- tenv
55+
- thelper
4256
- typecheck
4357
- unconvert
4458
- unparam
4559
- unused
4660
- varcheck
4761
- whitespace
48-
- asciicheck
49-
- bidichk
50-
- contextcheck
51-
- durationcheck
52-
- errname
53-
- ifshort
54-
- makezero
55-
- nestif
56-
- nilerr
57-
- nilnil
58-
- prealloc
59-
- predeclared
60-
- tenv
61-
- thelper
62-
- wastedassign

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/nuttech/bell/v2
22

3-
go 1.17
3+
go 1.18

0 commit comments

Comments
 (0)