move linter args to config file
parent
12b0a0df0b
commit
c24d006f88
|
@ -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…
Reference in New Issue