Skip to content

Commit ea05213

Browse files
committed
fix lint on Windows: force git to use LF
1 parent 83d5843 commit ea05213

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
runs-on: ["ubuntu-latest", "windows-latest"]
1515
runs-on: ${{ matrix.runs-on }}
1616
steps:
17+
- name: Force git to use LF
18+
run: |
19+
git config --global core.autocrlf false
20+
git config --global core.eol lf
1721
- uses: actions/checkout@v4
1822
- uses: actions/setup-go@v5
1923
with:

0 commit comments

Comments
 (0)