Skip to content

Commit

Permalink
Update golint
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Sep 21, 2022
1 parent d58a0ba commit b04debe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
os: [ubuntu-latest]
steps:

- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '1.16'
go-version: '1.19'

- uses: actions/checkout@v2

Expand All @@ -19,22 +19,22 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '1.16'
go-version: '1.19'
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
- uses: golangci/golangci-lint-action@v3
with:
version: v1.45.2
version: v1.49.0

deploy:
if: github.event_name != 'pull_request'
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: '1.16'
go-version: '1.19'

- uses: actions/checkout@v2

Expand Down
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ linters-settings:
check-shadowing: true
gofmt:
simplify: true
maligned:
suggest-new: true

linters:
enable:
- goimports
- gofmt
- misspell
- maligned
disable:
- errcheck

0 comments on commit b04debe

Please sign in to comment.