mirror of
https://github.com/go-task/task.git
synced 2025-12-16 19:57:43 +01:00
chore(taskfile): add go.mod as source for the lint tasks
This commit is contained in:
@@ -87,6 +87,7 @@ tasks:
|
|||||||
sources:
|
sources:
|
||||||
- './**/*.go'
|
- './**/*.go'
|
||||||
- .golangci.yml
|
- .golangci.yml
|
||||||
|
- go.mod
|
||||||
cmds:
|
cmds:
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
|
|
||||||
@@ -95,6 +96,7 @@ tasks:
|
|||||||
sources:
|
sources:
|
||||||
- './**/*.go'
|
- './**/*.go'
|
||||||
- .golangci.yml
|
- .golangci.yml
|
||||||
|
- go.mod
|
||||||
cmds:
|
cmds:
|
||||||
- golangci-lint run --fix
|
- golangci-lint run --fix
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user