summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-05-27 15:59:41 -0700
committerTim Smith <tsmith@chef.io>2021-05-27 15:59:41 -0700
commit8ea0144c4910c456215ea0ca333cc8d33c07645d (patch)
treea4a72b04395740b99655ec6be58b5982b34637c4 /.github
parent552ec721f16c4e085010a067e6806d89d1f6f8a4 (diff)
downloadchef-8ea0144c4910c456215ea0ca333cc8d33c07645d.tar.gz
Use our config in RuboCop to prevent pulling in others
Due to https://github.com/rubocop/rubocop/issues/9832 we're pulling in configs from vendor dirs in the GitHub Actions job. If you set it with -c you avoid that. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 945fa0b503..9ea4b32227 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -19,7 +19,7 @@ jobs:
ruby-version: 2.7
bundler-cache: true
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR
- - run: bundle exec rake style
+ - run: bundle exec chefstyle -c .rubocop.yml
spellcheck:
runs-on: ubuntu-latest