move linter args to config file

master
Up 2024-05-14 13:07:07 +02:00
parent 12b0a0df0b
commit c24d006f88
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,6 @@ jobs:
- name: Lint Codebase
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=10m
version: latest
- name: Test
run: go test -v

View File

@ -1,6 +1,8 @@
run:
timeout: 10m
severity:
default-severity: error
rules:
- linters:
- unused
severity: warning
severity: info