summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2020-12-17 16:22:31 +1000
committerJohn Bampton <[email protected]>2020-12-17 16:22:31 +1000
commitd21d5993b9452bdb7813e8c6b897241bbc72b758 (patch)
treef6f9cda5a692c02e5eae8b9c80de7e40fd933241 /.github/workflows
parentfbe5033f80cda70d4e835b7c99748df116d3be4c (diff)
downloadmruby-d21d5993b9452bdb7813e8c6b897241bbc72b758.tar.gz
mruby-d21d5993b9452bdb7813e8c6b897241bbc72b758.zip
feat(CI): add a GitHub Action to check spelling
- Fix spelling - Run only on pull request - Using https://github.com/client9/misspell
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/spell-checker.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml
new file mode 100644
index 000000000..307617c4a
--- /dev/null
+++ b/.github/workflows/spell-checker.yml
@@ -0,0 +1,17 @@
+name: ๐Ÿ’Ž Spellchecker
+
+on: [pull_request]
+
+jobs:
+ misspell:
+ name: ๐Ÿงน Check Spelling
+ runs-on: ubuntu-latest
+ steps:
+ - name: ๐Ÿ’ Check Out
+ uses: actions/checkout@v2
+ - name: ๐Ÿ… Install
+ run: |
+ wget -O - -q https://git.io/misspell | sh -s -- -b .
+ - name: ๐ŸŒถ๏ธ Misspell
+ run: |
+ find . -type f | xargs ./misspell -error