Skip to content

Commit e346a57

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 d8277d0 commit e346a57

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
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
- name: Install golangci-lint
22-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
22+
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
2323
- name: Run test
2424
run: go test ./...
2525
golangci-lint:
@@ -28,6 +28,6 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- uses: actions/setup-go@v5
3030
- name: Install golangci-lint
31-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
31+
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
3232
- name: Run golangci-lint
3333
run: golangci-lint run

0 commit comments

Comments
 (0)