move linter args to config file

pull/14/head
Up 4 months ago
parent 12b0a0df0b
commit c24d006f88
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388

@ -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

@ -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

Loading…
Cancel
Save