chore: bump golang and golangci (#206)

This commit is contained in:
Enrico Stahn 2022-02-09 08:56:44 +11:00 committed by GitHub
parent bf6971e537
commit 38770fc6e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View file

@ -38,7 +38,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2.1.4 uses: actions/setup-go@v2.1.4
with: with:
go-version: ^1.15.0 go-version: 1.17
id: go id: go
- name: Login to DockerHub - name: Login to DockerHub

View file

@ -17,7 +17,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2.1.4 uses: actions/setup-go@v2.1.4
with: with:
go-version: 1.14 go-version: 1.17
id: go id: go
- name: Checkout - name: Checkout
@ -26,7 +26,7 @@ jobs:
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v2.5.2 uses: golangci/golangci-lint-action@v2.5.2
with: with:
version: v1.32 version: v1.44
test: test:
name: Test name: Test
@ -36,7 +36,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2.1.4 uses: actions/setup-go@v2.1.4
with: with:
go-version: ^1.15.0 go-version: 1.17
id: go id: go
- name: Checkout - name: Checkout
@ -64,7 +64,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2.1.4 uses: actions/setup-go@v2.1.4
with: with:
go-version: ^1.15.0 go-version: 1.17
id: go id: go
- name: Run GoReleaser - name: Run GoReleaser

View file

@ -13,16 +13,15 @@ linters:
- gocyclo - gocyclo
- gofmt - gofmt
- goimports - goimports
- golint - revive
- gosec - gosec
- gosimple - gosimple
- govet - govet
- ineffassign - ineffassign
- interfacer
# - lll # - lll
- misspell - misspell
- nakedret - nakedret
- scopelint - exportloopref
- staticcheck - staticcheck
- structcheck - structcheck
# - typecheck # - typecheck