Skip to content

Commit 23ca535

Browse files
committed
fix(ci): update golangci-lint import path to v2
Update the import path for golangci-lint in GitHub workflows to use the v2 version of the package instead of the previous version.
1 parent d48dc5c commit 23ca535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-go@v5
1818
- name: Install golangci-lint
19-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
19+
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
2020
- name: Run test
2121
run: go test ./...
2222
golangci-lint:
@@ -25,6 +25,6 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-go@v5
2727
- name: Install golangci-lint
28-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
28+
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
2929
- name: Run golangci-lint
3030
run: golangci-lint run

0 commit comments

Comments
 (0)