Skip to content

Commit 6a06e72

Browse files
committed
Use golangci-lint-action with skip-cache and verbose output
Enable verbose mode to see exact lint issues and skip caching to ensure clean runs on each workflow execution.
1 parent a095747 commit 6a06e72

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ jobs:
7070
go-version: '1.25.x'
7171

7272
- name: golangci-lint
73-
run: |
74-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
75-
$(go env GOPATH)/bin/golangci-lint run --verbose
73+
uses: golangci/golangci-lint-action@v4
74+
with:
75+
version: v1.64.8
76+
skip-cache: true
77+
args: --verbose
7678

7779
format:
7880
name: Format Check

0 commit comments

Comments
 (0)