mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-09 15:38:08 -05:00
chore: fix linter action to error on lint issue (#1891)
lint action used to fix the issue rather than error
This commit is contained in:
2
.github/workflows/lint.yaml
vendored
2
.github/workflows/lint.yaml
vendored
@@ -69,4 +69,4 @@ jobs:
|
|||||||
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
|
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: --timeout 3m
|
args: --timeout 4m
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ linters:
|
|||||||
exclusions:
|
exclusions:
|
||||||
presets:
|
presets:
|
||||||
- std-error-handling
|
- std-error-handling
|
||||||
issues:
|
|
||||||
fix: true
|
|
||||||
formatters:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
- goimports
|
- goimports
|
||||||
|
|||||||
Reference in New Issue
Block a user