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 - name: Lint Codebase
uses: golangci/golangci-lint-action@v6 uses: golangci/golangci-lint-action@v6
with: with:
args: --timeout=10m
version: latest version: latest
- name: Test - name: Test
run: go test -v run: go test -v

View File

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