1
0
mirror of synced 2024-11-25 06:26:03 +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: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2 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 - name: Lint code with golangci-lint
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v3
with: with:
version: v1.36 version: v1.36
only-new-issues: true only-new-issues: true

View File

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