File tree Expand file tree Collapse file tree 1 file changed +40
-1
lines changed Expand file tree Collapse file tree 1 file changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,46 @@ concurrency:
15
15
16
16
jobs :
17
17
go-check :
18
- uses : ipdxco/unified-github-workflows/.github/workflows/go-check.yml@golangci-lint
18
+ uses : ipdxco/unified-github-workflows/.github/workflows/go-check.yml@v1.0
19
19
with :
20
20
go-version : " 1.24.x"
21
21
go-generate-ignore-protoc-version-comments : true
22
+
23
+ golangci-lint :
24
+ runs-on : ubuntu-latest
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ go : [ "1.23.x", "1.24.x" ]
29
+ env :
30
+ GOLANGCI_LINT_VERSION : v2.1.0
31
+ name : golangci-lint (Go ${{ matrix.go }})
32
+ steps :
33
+ - uses : actions/checkout@v4
34
+ - uses : actions/setup-go@v5
35
+ with :
36
+ go-version : ${{ matrix.go }}
37
+ - name : golangci-lint (Linux)
38
+ uses : golangci/golangci-lint-action@v8
39
+ with :
40
+ args : --timeout=5m
41
+ version : ${{ env.GOLANGCI_LINT_VERSION }}
42
+ only-new-issues : true
43
+ - name : golangci-lint (Windows)
44
+ if : success() || failure() # run this step even if the previous one failed
45
+ uses : golangci/golangci-lint-action@v8
46
+ env :
47
+ GOOS : " windows"
48
+ with :
49
+ args : --timeout=5m
50
+ version : ${{ env.GOLANGCI_LINT_VERSION }}
51
+ only-new-issues : true
52
+ - name : golangci-lint (OSX)
53
+ if : success() || failure() # run this step even if the previous one failed
54
+ uses : golangci/golangci-lint-action@v8
55
+ env :
56
+ GOOS : " darwin"
57
+ with :
58
+ args : --timeout=5m
59
+ version : ${{ env.GOLANGCI_LINT_VERSION }}
60
+ only-new-issues : true
You can’t perform that action at this time.
0 commit comments