Skip to content

Commit

Permalink
Set Git line endings to autocrlf (ical-org#689)
Browse files Browse the repository at this point in the history
Set Git line endings tuo autocrlf

Necessary for using C# raw strings
  • Loading branch information
axunonb authored Jan 8, 2025
1 parent 51de5e0 commit 6b933ce
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Set Git config for line endings
run: git config --global core.autocrlf true
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/daily_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Set Git config for line endings
run: git config --global core.autocrlf true
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all tags and branches
ref: main
- name: Set Git config for line endings
run: git config --global core.autocrlf true
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand Down Expand Up @@ -49,6 +51,8 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all tags and branches
ref: main
- name: Set Git config for line endings
run: git config --global core.autocrlf true
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Set Git config for line endings
run: git config --global core.autocrlf true
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand Down

0 comments on commit 6b933ce

Please sign in to comment.