Skip to content

Put chefstyle gem back in chefstyle group #6

Put chefstyle gem back in chefstyle group

Put chefstyle gem back in chefstyle group #6

Workflow file for this run

---
name: lint
"on":
pull_request:
push:
branches:
- main
jobs:
chefstyle:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: ruby_shadow:omnibus_package
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: false
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR
- run: |
gem install chefstyle
chefstyle -c .rubocop.yml
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: carlosperate/download-file-action@v2.0.0
id: download-custom-dictionary
with:
file-url: 'https://raw.githubusercontent.com/chef/chef_dictionary/main/chef.txt'
file-name: 'chef_dictionary.txt'
- uses: streetsidesoftware/cspell-action@v2.12.0