Skip to content

Commit ab7e41b

Browse files
authored
Integrate golangci-lint Github Action (#118)
1 parent f2ce5ef commit ab7e41b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@ jobs:
2525
uses: codecov/codecov-action@v2
2626
with:
2727
files: cover.out
28+
29+
- name: golangci-lint
30+
uses: golangci/golangci-lint-action@v2
31+
with:
32+
version: v1.43
33+
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
34+
skip-pkg-cache: true
35+
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
36+
skip-build-cache: true

0 commit comments

Comments
 (0)