chore: bump golang and golangci (#206)
This commit is contained in:
parent
bf6971e537
commit
38770fc6e9
3 changed files with 7 additions and 8 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v2.1.4
|
||||
with:
|
||||
go-version: ^1.15.0
|
||||
go-version: 1.17
|
||||
id: go
|
||||
|
||||
- name: Login to DockerHub
|
||||
|
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v2.1.4
|
||||
with:
|
||||
go-version: 1.14
|
||||
go-version: 1.17
|
||||
id: go
|
||||
|
||||
- name: Checkout
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2.5.2
|
||||
with:
|
||||
version: v1.32
|
||||
version: v1.44
|
||||
|
||||
test:
|
||||
name: Test
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@v2.1.4
|
||||
with:
|
||||
go-version: ^1.15.0
|
||||
go-version: 1.17
|
||||
id: go
|
||||
|
||||
- name: Checkout
|
||||
|
@ -64,7 +64,7 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@v2.1.4
|
||||
with:
|
||||
go-version: ^1.15.0
|
||||
go-version: 1.17
|
||||
id: go
|
||||
|
||||
- name: Run GoReleaser
|
||||
|
|
|
@ -13,16 +13,15 @@ linters:
|
|||
- gocyclo
|
||||
- gofmt
|
||||
- goimports
|
||||
- golint
|
||||
- revive
|
||||
- gosec
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
- interfacer
|
||||
# - lll
|
||||
- misspell
|
||||
- nakedret
|
||||
- scopelint
|
||||
- exportloopref
|
||||
- staticcheck
|
||||
- structcheck
|
||||
# - typecheck
|
||||
|
|
Loading…
Reference in a new issue