You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2022/05/09 07:31:12 UTC
[commons-imaging] 02/03: Configure GitHub Actions to use LF instead of CRLF to avoid causing Checkstyle to fail
This is an automated email from the ASF dual-hosted git repository.
kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
commit ef60f93a27fc356d9901c261ff7d0517b66f064d
Author: Bruno P. Kinoshita <ki...@apache.org>
AuthorDate: Mon May 9 18:42:17 2022 +1200
Configure GitHub Actions to use LF instead of CRLF to avoid causing Checkstyle to fail
---
.github/workflows/maven.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 652d7f90..08429678 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -35,6 +35,11 @@ jobs:
# experimental: true
steps:
+ # https://github.com/actions/checkout/issues/226#issuecomment-854736025
+ - name: Prepare git
+ run: |-
+ git config --global core.autocrlf false
+ git config --global core.eol lf
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3