Skip to content

Commit

Permalink
Disable core.autocrlf on Windows to prevent submodule diffs (fix #2886)…
Browse files Browse the repository at this point in the history
… (#2888)
  • Loading branch information
itchyny authored Sep 15, 2023
1 parent 7a72f58 commit 5ea1a4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ jobs:
run:
shell: msys2 {0}
steps:
- name: Prepare git config
run: git config --system core.autocrlf false
shell: bash
- name: Clone repository
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -240,7 +243,7 @@ jobs:
- name: Test
run: |
make check VERBOSE=yes
git diff --exit-code --ignore-submodules
git diff --exit-code
- name: Upload Test Logs
if: ${{ failure() }}
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 5ea1a4a

Please sign in to comment.