Skip to content

Commit c9e819c

Browse files
committed
Add golangci-lint installation step to CI workflow for improved code quality checks
1 parent e614013 commit c9e819c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
with:
1919
go-version: '1.21'
2020

21+
- name: Install golangci-lint
22+
run: |
23+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.6.1
24+
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
25+
2126
- name: Run tests and checks
2227
run: make test
2328

0 commit comments

Comments
 (0)