Skip to content

Commit a96c3e1

Browse files
committed
wip: testing uci golangci-lint support
1 parent 31c8c83 commit a96c3e1

File tree

1 file changed

+1
-40
lines changed

1 file changed

+1
-40
lines changed

.github/workflows/go-check.yml

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -15,46 +15,7 @@ concurrency:
1515

1616
jobs:
1717
go-check:
18-
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@v1.0
18+
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@golangci-lint
1919
with:
2020
go-version: "1.24.x"
2121
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

0 commit comments

Comments
 (0)