1
0
mirror of https://github.com/NUTtech/bell.git synced 2024-11-19 20:31:41 +02:00

issue-24: Update Go

This commit is contained in:
lowit 2022-05-25 16:57:24 +03:00 committed by lowitea
parent 57a21766c7
commit 1301322add
3 changed files with 19 additions and 20 deletions

View File

@ -9,7 +9,7 @@ on:
jobs:
autotests:
runs-on: ubuntu-latest
container: golang:1.17
container: golang:1.18
steps:
- uses: actions/checkout@v3
@ -34,4 +34,4 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.44
version: v1.46.2

View File

@ -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
go.mod
View File

@ -1,3 +1,3 @@
module github.com/nuttech/bell/v2
go 1.17
go 1.18