diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 326d322a3..76194dc93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,6 +138,10 @@ jobs: os: [ubuntu, macos, windows] runs-on: ${{ matrix.os }}-latest steps: + # autocrlf is problematic for check-fmt-go. + - name: Turn off autocrlf + if: matrix.os == 'windows' + run: git config --global core.autocrlf false - name: Checkout code uses: actions/checkout@v4 - name: Set up Go