diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 80f6b5ba..b1b226a7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,9 +19,6 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: 3.1 - bundler-cache: false + bundler-cache: true - uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR - - run: | - gem install cookstyle - cookstyle --chefstyle -c .rubocop.yml - \ No newline at end of file + - run: bundle exec cookstyle --chefstyle -c .rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 78ced549..a1e46ef5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 3.1 Exclude: - "examples/**/*" - "spec/tmp/**/*"