Skip to content

Commit a307f7b

Browse files
committed
Add .gitattributes to fix lint failure on Windows
It is acually described in "How to use" docs https://github.com/golangci/golangci-lint-action
1 parent 3ee0ad0 commit a307f7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Ensure Windows uses proper line endings
2+
*.go text eol=lf

0 commit comments

Comments
 (0)