File tree 2 files changed +24
-15
lines changed
2 files changed +24
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : golangci-lint
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+
8
+ permissions :
9
+ contents : read
10
+ pull-requests : read
11
+
12
+ jobs :
13
+ golangci :
14
+ name : lint
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - uses : actions/setup-go@v5
19
+ with :
20
+ go-version-file : ' ./go.mod'
21
+ - name : golangci-lint
22
+ uses : golangci/golangci-lint-action@v7
23
+ with :
24
+ version : v2.0
Original file line number Diff line number Diff line change 79
79
run : |
80
80
set -e
81
81
addlicense -check -l apache -c 'The Sigstore Authors' -ignore "third_party/**" -v *
82
-
83
- golangci :
84
- name : lint
85
- runs-on : ubuntu-latest
86
- steps :
87
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
88
- - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
89
- with :
90
- go-version-file : ' ./go.mod'
91
- check-latest : true
92
- - name : golangci-lint
93
- uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
94
- with :
95
- version : v1.61
96
- args : --timeout=15m
You can’t perform that action at this time.
0 commit comments