Merge pull request #5216 from Benehiko/force-lf

feat: force lf line endings by default
This commit is contained in:
Sebastiaan van Stijn 2024-07-04 02:09:34 +02:00 committed by GitHub
commit f30d1ecc91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

2
.gitattributes vendored
View File

@ -1,3 +1,5 @@
* text=auto eol=lf
Dockerfile* linguist-language=Dockerfile Dockerfile* linguist-language=Dockerfile
vendor.mod linguist-language=Go-Module vendor.mod linguist-language=Go-Module
vendor.sum linguist-language=Go-Checksums vendor.sum linguist-language=Go-Checksums
*.bat text eol=crlf

View File

@ -49,12 +49,6 @@ jobs:
- macos-12 - macos-12
# - windows-2022 # FIXME: some tests are failing on the Windows runner, as well as on Appveyor since June 24, 2018: https://ci.appveyor.com/project/docker/cli/history # - windows-2022 # FIXME: some tests are failing on the Windows runner, as well as on Appveyor since June 24, 2018: https://ci.appveyor.com/project/docker/cli/history
steps: steps:
-
name: Prepare git
if: matrix.os == 'windows-latest'
run: |
git config --system core.autocrlf false
git config --system core.eol lf
- -
name: Checkout name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4