We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d74781 commit a60c8eeCopy full SHA for a60c8ee
.github/workflows/lint.yml
@@ -9,6 +9,11 @@ on:
9
- build*
10
pull_request:
11
12
+
13
+env:
14
+ GOLANGCI_LINT_VERSION: ${{ vars.GOLANGCI_LINT_VERSION == '' && 'v1.59.1' || vars.GOLANGCI_LINT_VERSION }}
15
+ DEFAULT_STEP_TIMEOUT: ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && '20' || vars.DEFAULT_STEP_TIMEOUT_MIN }}
16
17
jobs:
18
lint:
19
runs-on: ubuntu-latest
@@ -31,4 +36,5 @@ jobs:
31
36
- name: Run golangci-lint
32
37
uses: golangci/[email protected]
33
38
with:
34
- version: 'v1.59.1'
39
+ version: ${{ env.GOLANGCI_LINT_VERSION }}
40
+ args: --timeout $${{ env.DEFAULT_STEP_TIMEOUT }}m
.golangci.yml
@@ -318,4 +318,7 @@ issues:
318
- gosec
319
- noctx
320
- revive
321
- - wrapcheck
+ - wrapcheck
322
+output:
323
+ formats:
324
+ - format: colored-line-number
0 commit comments