Skip to content

Commit f0aa63d

Browse files
committed
Use the official golangci-lint action instead of installign it through curl
Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
1 parent 416e80a commit f0aa63d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ 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 v2.3.1
29-
30-
- name: Run lint (includes formatting)
31-
run: make lint
25+
- name: Run golangci-lint
26+
uses: golangci/golangci-lint-action@v8
27+
with:
28+
version: v2.3.1
3229

3330
# Schema and Example Validation
3431
validate:

0 commit comments

Comments
 (0)