File tree 2 files changed +7
-2
lines changed 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 12
12
- ' docs/**'
13
13
- ' **.md'
14
14
15
+ permissions :
16
+ # For golangci/golangci-lint to have read access to pull request for `only-new-issues` option.
17
+ contents : read
18
+
15
19
jobs :
16
20
golangci-lint :
17
21
runs-on : ubuntu-latest
@@ -24,14 +28,15 @@ jobs:
24
28
with :
25
29
# renovate: datasource=golang-version depName=go
26
30
go-version : ' 1.20.7'
31
+ # using golangci-lint cache instead
32
+ cache : false
27
33
28
34
- name : Run golangci-lint
29
35
uses : golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6.0
30
36
with :
31
37
# renovate: datasource=docker depName=docker.io/golangci/golangci-lint
32
38
version : v1.53.3
33
39
args : --config=.golangci.yml --verbose
34
- skip-cache : true
35
40
36
41
format :
37
42
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
1
# See https://golangci-lint.run/usage/configuration/ for available options.
2
2
# Also https://github.com/cilium/cilium/blob/master/.golangci.yaml as a reference.
3
3
run :
4
- timeout : 5m
4
+ timeout : 10m
5
5
6
6
output :
7
7
format : tab
You can’t perform that action at this time.
0 commit comments