We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef4d702 commit daa5893Copy full SHA for daa5893
.github/workflows/pr.yml
@@ -17,7 +17,7 @@ jobs:
17
runs-on: ubuntu-latest
18
env:
19
GO_VERSION: stable
20
- GOLANGCI_LINT_VERSION: v2.5.0
+ GOLANGCI_LINT_VERSION: v2.6.1
21
22
steps:
23
- uses: actions/checkout@v5
@@ -31,11 +31,11 @@ jobs:
31
git diff --exit-code go.mod
32
git diff --exit-code go.sum
33
34
- # https://golangci-lint.run/usage/install#other-ci
35
- 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
+ uses: golangci/[email protected]
+ with:
+ version: ${{ env.GOLANGCI_LINT_VERSION }}
+ install-only: true
39
40
- name: Make
41
run: make
0 commit comments