diff --git a/.github/workflows/quicktest.yml b/.github/workflows/quicktest.yml index dcd9e74522..ed24bec539 100644 --- a/.github/workflows/quicktest.yml +++ b/.github/workflows/quicktest.yml @@ -44,6 +44,9 @@ jobs: name: "QuickTest: PHP ${{ matrix.php }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }})" steps: + - name: Prepare git to leave line endings alone + run: git config --global core.autocrlf input + - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93fb9a79ec..6645cb7f7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -118,6 +118,9 @@ jobs: continue-on-error: ${{ matrix.php == '8.5' }} steps: + - name: Prepare git to leave line endings alone + run: git config --global core.autocrlf input + - name: Checkout code uses: actions/checkout@v4 @@ -229,6 +232,9 @@ jobs: name: "Coverage: ${{ matrix.php }} ${{ matrix.custom_ini && ' with custom ini settings' || '' }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }})" steps: + - name: Prepare git to leave line endings alone + run: git config --global core.autocrlf input + - name: Checkout code uses: actions/checkout@v4