From ecb718b6a7c256060e0184524508edd2a8692c1c Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 2 Aug 2023 17:43:28 +1000 Subject: [PATCH] chore(CI): make formatting same across platforms (#1575) --- .gitattributes | 2 ++ .github/workflows/ci.yml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..a34b868b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Use Unix line endings in all text files. +* text=auto eol=lf \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab7ffd39..dd1221c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,11 +27,9 @@ jobs: deno-version: ${{ matrix.deno }} - name: Verify formatting - if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v1.x' run: deno fmt --check - name: Run linter - if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'canary' run: deno lint - name: Spell-check