We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a6b8d commit a976ed2Copy full SHA for a976ed2
.github/workflows/go.yml
@@ -14,6 +14,14 @@ jobs:
14
runs-on: ${{ matrix.os }}
15
16
steps:
17
+ - name: Force git to use LF
18
+ # This step is required on Windows to work around go mod tidy -diff issues caused by CRLF line endings.
19
+ # TODO: replace with a checkout option when https://github.com/actions/checkout/issues/226 is implemented
20
+ if: runner.os == 'Windows'
21
+ run: |
22
+ git config --global core.autocrlf false
23
+ git config --global core.eol lf
24
+
25
- name: Check out code
26
uses: actions/checkout@v6
27
0 commit comments