aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-13 12:59:31 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2021-09-13 13:27:57 +0200
commit04bd3f8a7dc68050de8b0f9ab6876e67da6976b9 (patch)
treee0b563508cfb141258442f04ba02a962f2ab57f9
parent0eb5ef4003d9cd4ba9995e67bf4a2ff04d367de9 (diff)
downloaddna-backup-04bd3f8a7dc68050de8b0f9ab6876e67da6976b9.tar.gz
dna-backup-04bd3f8a7dc68050de8b0f9ab6876e67da6976b9.zip
add gitattributes to force testdata to use LF
-rw-r--r--.github/workflows/build.yml3
-rw-r--r--sketch/testdata/.gitattributes1
-rw-r--r--testdata/.gitattributes1
3 files changed, 4 insertions, 1 deletions
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