Merge pull request #3141 from chef/im/shortcodes #3227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: lint | |
'on': | |
pull_request: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs-chef-io' | |
jobs: | |
chefstyle-supermarket: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
working-directory: src/supermarket | |
ruby-version: 3.1.2 | |
bundler-cache: true | |
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR | |
- name: run chefstyle | |
run: bundle exec chefstyle | |
working-directory: src/supermarket | |
chefstyle-fieri: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
working-directory: src/supermarket/engines/fieri | |
ruby-version: 3.1.2 | |
bundler-cache: true | |
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR | |
- name: run chefstyle | |
run: bundle exec chefstyle --ignore-parent-exclusion | |
working-directory: src/supermarket/engines/fieri |