From bed511b57ab1dccd478ebc610539aa38870e405f Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 16 Jun 2022 10:53:59 -0500 Subject: [PATCH] test(action): Verify with and without history --- .github/workflows/test-action.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 74947f5..4695c57 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -2,7 +2,7 @@ name: Test GitHub Action on: [pull_request] jobs: - run: + shallow: name: Spell Check with Typos runs-on: ubuntu-latest steps: @@ -23,3 +23,27 @@ jobs: uses: ./ with: files: ./file.txt + + deep: + name: Spell Check with Type w/History + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Prepare file with mistakes. + run: echo "Finallizes" > file.txt + - name: Test force pass with mistakes + continue-on-error: true + uses: ./ + with: + files: ./file.txt + + - name: Prepare file with no mistakes. + run: echo "Finalizes" > file.txt + - name: Test pass with no mistakes + uses: ./ + with: + files: ./file.txt