Skip to content

Commit a2232aa

Browse files
IanButterworthfredrikekre
authored andcommitted
prevent github actions CI git from changing \n to \r\n (#2384)
(cherry picked from commit ec6b34f, PR#2384)
1 parent 9adb32b commit a2232aa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ jobs:
3030
- os: macOS-latest
3131
julia-arch: x86
3232
steps:
33-
- uses: actions/[email protected]
33+
- name: Set git to use LF
34+
if: matrix.os == 'windows-latest'
35+
run: |
36+
git config --global core.autocrlf false
37+
git config --global core.eol lf
38+
- uses: actions/checkout@v2
3439
- uses: julia-actions/setup-julia@latest
3540
with:
3641
version: ${{ matrix.julia-version }}

0 commit comments

Comments
 (0)