diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-04-14 17:26:51 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-04-14 17:56:06 -0700 |
commit | 0b05ba3c9bfa7b6517d6a4c0c855167d1c33ae80 (patch) | |
tree | a3364d0a6c0f5fa316c1cdb47d32c3390e94a273 | |
parent | 03266b91e405f6038e6039d997c0b0eaa6e2da70 (diff) | |
download | chef-0b05ba3c9bfa7b6517d6a4c0c855167d1c33ae80.tar.gz |
Test running spellcheck in Github Actions
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .expeditor/verify.pipeline.yml | 9 | ||||
-rw-r--r-- | .github/workflows/spellcheck.yml | 23 | ||||
-rw-r--r-- | RELEASE_NOTES.md | 2 |
3 files changed, 24 insertions, 10 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 5d55bc0d72..20ffb41278 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -551,15 +551,6 @@ steps: privileged: true single-use: true -- label: "Spellcheck" - commands: - - npm install -g cspell - - rake -f tasks/spellcheck.rb spellcheck - soft_fail: true - expeditor: - executor: - docker: - - label: ":habicat: Linux plan" commands: - sudo ./.expeditor/scripts/install-hab.sh 'x86_64-linux' 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: "**/*" diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 6c0b4b902c..66af43ed18 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -11,7 +11,7 @@ This section serves to track things we should later document here for 17.0 - Remove ability to run client as a service on Windows - https://github.com/chef/chef/pull/10928 - Knife Org commands from knife-opc are now part of chef itself - https://github.com/chef/chef/pull/10187 - Chef packages on *nix now create the /etc/chef directory and subdirectories to make getting started easier - https://github.com/chef/chef/pull/11158 / https://github.com/chef/chef/pull/11173 -- lpar_no and wpar_no in AIX Virtualizatin plugin are now Integers - https://github.com/chef/ohai/pull/1647 +- lpar_no and wpar_no in AIX Virtualization plugin are now Integers - https://github.com/chef/ohai/pull/1647 ### Infra Language Improvements |