Skip to content

Commit e7fbaa9

Browse files
committed
Use the official golangci-lint action instead of installign it through curl
Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent ae78628 commit e7fbaa9

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ jobs:
2222
uses: actions/setup-go@v5
2323
with:
2424
go-version: ${{ env.GO_VERSION }}
25-
26-
- name: Install golangci-lint
27-
run: |
28-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0
29-
30-
- name: Run lint (includes formatting)
31-
run: make lint
25+
26+
- name: Run golangci-lint
27+
uses: golangci/golangci-lint-action@v8
28+
with:
29+
version: v2.3.0
3230

3331
# Schema and Example Validation
3432
validate:

0 commit comments

Comments
 (0)