commit
5fc63ba87a
|
@ -48,6 +48,9 @@ jobs:
|
|||
go-version: ${{ env.GO_VERSION }}
|
||||
cache: false # The golangci-lint action does its own caching.
|
||||
|
||||
- name: Check go mod tidy
|
||||
run: go mod tidy && git diff --exit-code go.mod go.sum
|
||||
|
||||
- name: Lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
|
|
|
@ -12,5 +12,9 @@
|
|||
"matchFileNames": ["example/**"],
|
||||
"groupName": "examples"
|
||||
}
|
||||
],
|
||||
"postUpdateOptions": [
|
||||
"gomodTidy",
|
||||
"gomodUpdateImportPaths"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue