Skip to content

Commit a8fa380

Browse files
authored
Update lint.yml
1 parent c386d6e commit a8fa380

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Lint
22

33
on:
44
push:
5-
tags:
6-
branches:
75
pull_request:
86

97
jobs:
@@ -17,28 +15,6 @@ jobs:
1715
stable: false
1816
- uses: actions/checkout@v2
1917
- name: golangci-lint
20-
uses: golangci/golangci-lint-action@v2
18+
uses: golangci/golangci-lint-action@v3
2119
with:
22-
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
23-
version: latest
24-
25-
# Optional: working directory, useful for monorepos
26-
working-directory: ./
27-
28-
# Optional: golangci-lint command line arguments.
29-
args: --timeout 60s --max-same-issues 50
30-
31-
# Optional: show only new issues if it's a pull request. The default value is `false`.
32-
# only-new-issues: true
33-
34-
# Optional: if set to true then the action will use pre-installed Go.
35-
# skip-go-installation: true
36-
37-
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
38-
# skip-pkg-cache: true
39-
40-
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
41-
# skip-build-cache: true
42-
43-
# optionally use a specific version of Go rather than the latest one
44-
go_version: '1.21.3'
20+
args: --timeout 120s --max-same-issues 50

0 commit comments

Comments
 (0)