Skip to content

Commit a56de28

Browse files
author
w7years
committed
✨ chore(workflow): add golangci-lint installation step in docker-image.yml for code analysis integration
1 parent 6422c35 commit a56de28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docker-image.yml

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ jobs:
5151
- name: Format code
5252
run: make fmt
5353

54+
- name: install golangci-lint
55+
run: |
56+
GO111MODULE=on go install github.com/golangci/golangci-lint/cmd/[email protected]
57+
echo "$HOME/go/bin" >> $GITHUB_PATH
58+
5459
- name: Run static code analysis
5560
run: make lint
5661

0 commit comments

Comments
 (0)