diff --git a/.gitattributes b/.gitattributes index 4f1544141a..633021a07c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,5 @@ +* text=auto eol=lf Dockerfile* linguist-language=Dockerfile vendor.mod linguist-language=Go-Module vendor.sum linguist-language=Go-Checksums +*.bat text eol=crlf diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 842862ed5c..df0ed636d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,12 +49,6 @@ jobs: - macos-12 # - windows-2022 # FIXME: some tests are failing on the Windows runner, as well as on Appveyor since June 24, 2018: https://ci.appveyor.com/project/docker/cli/history steps: - - - name: Prepare git - if: matrix.os == 'windows-latest' - run: | - git config --system core.autocrlf false - git config --system core.eol lf - name: Checkout uses: actions/checkout@v4