From 04bd3f8a7dc68050de8b0f9ab6876e67da6976b9 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 13 Sep 2021 12:59:31 +0200 Subject: add gitattributes to force testdata to use LF --- .github/workflows/build.yml | 3 ++- sketch/testdata/.gitattributes | 1 + testdata/.gitattributes | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 sketch/testdata/.gitattributes create mode 100644 testdata/.gitattributes diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0280636..d0d89e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,8 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - name: Checkout git ref + uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 diff --git a/sketch/testdata/.gitattributes b/sketch/testdata/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/sketch/testdata/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/testdata/.gitattributes b/testdata/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/testdata/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf -- cgit v1.2.3