From a307f7b03faea40e859be5bdf223a17e18aefd9f Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Tue, 12 Nov 2024 00:37:40 +0300 Subject: [PATCH] Add `.gitattributes` to fix lint failure on Windows It is acually described in "How to use" docs https://github.com/golangci/golangci-lint-action --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8fa7f67 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Ensure Windows uses proper line endings +*.go text eol=lf