Skip to content

Commit daa5893

Browse files
committed
chore: update linter
1 parent ef4d702 commit daa5893

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
env:
1919
GO_VERSION: stable
20-
GOLANGCI_LINT_VERSION: v2.5.0
20+
GOLANGCI_LINT_VERSION: v2.6.1
2121

2222
steps:
2323
- uses: actions/checkout@v5
@@ -31,11 +31,11 @@ jobs:
3131
git diff --exit-code go.mod
3232
git diff --exit-code go.sum
3333
34-
# https://golangci-lint.run/usage/install#other-ci
3534
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
36-
run: |
37-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
38-
golangci-lint --version
35+
uses: golangci/[email protected]
36+
with:
37+
version: ${{ env.GOLANGCI_LINT_VERSION }}
38+
install-only: true
3939

4040
- name: Make
4141
run: make

0 commit comments

Comments
 (0)