summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-04-14 17:26:51 -0700
committerTim Smith <tsmith84@gmail.com>2021-04-14 17:56:06 -0700
commit0b05ba3c9bfa7b6517d6a4c0c855167d1c33ae80 (patch)
treea3364d0a6c0f5fa316c1cdb47d32c3390e94a273 /.github/workflows
parent03266b91e405f6038e6039d997c0b0eaa6e2da70 (diff)
downloadchef-0b05ba3c9bfa7b6517d6a4c0c855167d1c33ae80.tar.gz
Test running spellcheck in Github Actions
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/spellcheck.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml
new file mode 100644
index 0000000000..554d677453
--- /dev/null
+++ b/.github/workflows/spellcheck.yml
@@ -0,0 +1,23 @@
+---
+name: spellcheck
+
+"on":
+ pull_request:
+ push:
+ branches:
+ - master
+
+jobs:
+ spellcheck:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: carlosperate/download-file-action@v1.0.3
+ id: download-custom-dictionary
+ with:
+ file-url: 'https://raw.githubusercontent.com/chef/chef_dictionary/master/chef.txt'
+ file-name: 'chef_dictionary.txt'
+ - uses: zwaldowski/cspell-action@v1
+ with:
+ config: cspell.json
+ paths: "**/*"