File tree Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -31,21 +31,21 @@ jobs:
31
31
# We already run the current golangci-lint in tests, but here we test
32
32
# our GitHub action with the latest stable golangci-lint.
33
33
# **Important**: The v1 version of the action on GitHub does not support golang 1.25, so it needs to be disabled.
34
- # golangci-lint:
35
- # runs-on: ubuntu-latest
36
- # steps:
37
- # - uses: actions/checkout@v4
38
- # - uses: actions/setup-go@v5
39
- # with:
40
- # # https://github.com/actions/setup-go#supported-version-syntax
41
- # # ex:
42
- # # - 1.18beta1 -> 1.18.0-beta.1
43
- # # - 1.18rc1 -> 1.18.0-rc.1
44
- # go-version: ${{ env.GO_VERSION }}
45
- # - name: lint
46
- # uses: golangci/[email protected]
47
- # with:
48
- # version: latest
34
+ golangci-lint :
35
+ runs-on : ubuntu-latest
36
+ steps :
37
+ - uses : actions/checkout@v4
38
+ - uses : actions/setup-go@v5
39
+ with :
40
+ # https://github.com/actions/setup-go#supported-version-syntax
41
+ # ex:
42
+ # - 1.18beta1 -> 1.18.0-beta.1
43
+ # - 1.18rc1 -> 1.18.0-rc.1
44
+ go-version : ${{ env.GO_VERSION }}
45
+ # - name: lint
46
+ # uses: golangci/[email protected]
47
+ # with:
48
+ # version: latest
49
49
50
50
tests-on-windows :
51
51
needs : golangci-lint # run after golangci-lint action to not produce duplicated errors
Original file line number Diff line number Diff line change @@ -275,7 +275,6 @@ func TestLineDirectiveProcessedFiles(t *testing.T) {
275
275
},
276
276
target : "quicktemplate" ,
277
277
expected : []string {
278
- "testdata/quicktemplate/hello.qtpl.go:10:1: package-comments: should have a package comment (revive)" ,
279
278
"testdata/quicktemplate/hello.qtpl.go:26:1: exported: exported function StreamHello should have comment or be unexported (revive)" ,
280
279
"testdata/quicktemplate/hello.qtpl.go:39:1: exported: exported function WriteHello should have comment or be unexported (revive)" ,
281
280
"testdata/quicktemplate/hello.qtpl.go:50:1: exported: exported function Hello should have comment or be unexported (revive)" ,
@@ -290,7 +289,6 @@ func TestLineDirectiveProcessedFiles(t *testing.T) {
290
289
},
291
290
target : "quicktemplate" ,
292
291
expected : []string {
293
- "testdata/quicktemplate/hello.qtpl.go:10:1: package-comments: should have a package comment (revive)" ,
294
292
"testdata/quicktemplate/hello.qtpl.go:26:1: exported: exported function StreamHello should have comment or be unexported (revive)" ,
295
293
"testdata/quicktemplate/hello.qtpl.go:39:1: exported: exported function WriteHello should have comment or be unexported (revive)" ,
296
294
"testdata/quicktemplate/hello.qtpl.go:50:1: exported: exported function Hello should have comment or be unexported (revive)" ,
You can’t perform that action at this time.
0 commit comments