From 0c318f87ab4887c09995ecd8143e7556aef4f538 Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Tue, 18 Aug 2020 00:35:18 +0100 Subject: [PATCH] add github action to lint on push/pr --- .github/workflows/lint.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 17f1c8b168..7071a2a2de 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,7 +23,6 @@ jobs: uses: trilom/file-changes-action@v1.2.4 with: output: ' ' - continue-on-error: true # see jitterbit/get-changed-files#7 - run: ./format.sh ${{ steps.files.outputs.files}} # fail if any files were changed by ./format.sh @@ -34,6 +33,4 @@ jobs: - name: Fail if any files reformatted if: steps.files_formatted.outputs.files_changed == 'true' - run: | - git diff - exit 1 + run: exit 1