From 7aa8816001e579e110fb102009fd3f44aa84f179 Mon Sep 17 00:00:00 2001 From: candiduslynx Date: Tue, 17 Oct 2023 19:22:47 +0300 Subject: [PATCH] set LF --- .github/workflows/unittest.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 7b7d18a..84a0a1d 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -14,6 +14,11 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: + - name: Set git to use LF + if: matrix.os == 'windows-latest' + run: | + git config --global core.autocrlf false + git config --global core.eol lf - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Set up Go 1.x