Fix golangci-lint config (#4612)

This commit is contained in:
Justin Cormack 2025-03-30 20:18:20 +01:00 committed by GitHub
commit 2e63da9977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -23,6 +23,5 @@ linters-settings:
disabled: true
issues:
deadline: 2m
exlude-dirs:
exclude-dirs:
- vendor

View File

@ -18,4 +18,5 @@ ARG BUILDTAGS
RUN --mount=type=bind,target=. \
--mount=type=cache,target=/root/.cache \
--mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint \
golangci-lint --timeout "${TIMEOUT}" --build-tags "${BUILDTAGS}" run
golangci-lint config verify && \
golangci-lint --timeout "${TIMEOUT}" --build-tags "${BUILDTAGS}" run