Skip to content

Commit 68dea00

Browse files
committed
chore: update linter
1 parent 669fdec commit 68dea00

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
env:
1717
GO_VERSION: stable
18-
GOLANGCI_LINT_VERSION: v2.5.0
18+
GOLANGCI_LINT_VERSION: v2.6.1
1919
CGO_ENABLED: 0
2020

2121
steps:
@@ -25,7 +25,10 @@ jobs:
2525
go-version: ${{ env.GO_VERSION }}
2626

2727
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
28-
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
28+
uses: golangci/golangci-lint-action@v9.0.0
29+
with:
30+
version: ${{ env.GOLANGCI_LINT_VERSION }}
31+
install-only: true
2932

3033
- name: Make
3134
run: make

0 commit comments

Comments
 (0)