1
0
mirror of synced 2024-11-22 04:56:06 +03:00

disable unused linter for tests

This commit is contained in:
Alex Lushpai 2022-04-22 09:38:18 +03:00 committed by GitHub
commit ce5515c52e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -19,8 +19,15 @@ jobs:
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Set up latest Go 1.x version
uses: actions/setup-go@v2
with:
go-version: '1.17'
- name: Get dependencies
run: |
go mod tidy
- name: Lint code with golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.36
only-new-issues: true

View File

@ -174,6 +174,7 @@ issues:
- gocognit
- gocyclo
- godot
- unused
exclude-use-default: true
exclude-case-sensitive: false
max-issues-per-linter: 0