feat(ci): adding github action to use typos to check spelling (#267)

Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
This commit is contained in:
Vanessasaurus
2021-05-31 19:42:45 -05:00
committed by GitHub
co-authored by vsoch
parent 96341acd48
commit 7d09c5a4bf
8 changed files with 192 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Test GitHub Action
on: [pull_request]
jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v2
- name: Prepare file with mistakes.
run: echo "The quick brown foxx jumped over the slepy dog." > 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 "The quick brown fox jumped over the sleepy dog." > file.txt
- name: Test force pass with no mistakes
uses: ./
with:
files: ./file.txt