Fix CI: Use golangci-lint v2 GitHub Action
The configuration file is for v2, but CI was installing v1. Use the official golangci-lint GitHub Action which handles v2 correctly.
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -132,9 +132,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Install golangci-lint
|
- name: Install golangci-lint
|
||||||
run: |
|
uses: golangci/golangci-lint-action@v6
|
||||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
with:
|
||||||
echo "$HOME/go/bin" >> $GITHUB_PATH
|
version: v2
|
||||||
|
|
||||||
- name: Run linters
|
- name: Run linters
|
||||||
run: make lint
|
run: make lint
|
||||||
|
|||||||
Reference in New Issue
Block a user