Skip to content

Commit 3cd697b

Browse files
committed
Configure git to disable eol conversions
Otherwise, checkout converts the LF line endings to CRLF on the Windows runner, causing the formatting check to fail.
1 parent 299ff0d commit 3cd697b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
- windows-latest
1919

2020
steps:
21+
- name: Disable EOL conversions
22+
run: git config --global core.autocrlf false
23+
2124
- name: Checkout
2225
uses: actions/checkout@master
2326

0 commit comments

Comments
 (0)