Skip to content

Commit d2bac48

Browse files
committed
ci: install golangci-lint before running linter step
1 parent c15bf31 commit d2bac48

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
fi
4444
echo "✅ Binary size OK: ${SIZE_MB}MB"
4545
46+
- name: Install linter
47+
run: |
48+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0
49+
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
50+
4651
- name: Run linters
4752
run: |
4853
if [ -f Makefile ] && grep -q "^lint:" Makefile; then

0 commit comments

Comments
 (0)