Skip to content

Commit 26767a7

Browse files
author
KJ Tsanaktsidis
committed
Run Rubocop against Ruby 3.2
There's no reason to run Rubocop against such an old version of Ruby; it's perfectly capable of parsing code according to Ruby 2.6 rules even when running on a more modern ruby (`TargetRubyVersion` in rubocop.yml). So, just run it on Ruby 3.2.
1 parent 33d4233 commit 26767a7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ jobs:
1818
- name: Set up Ruby
1919
uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: "2.6"
22-
- name: Set up Gems
23-
run: |
24-
gem update --system --no-document
25-
gem install bundler --no-document
26-
bundle install --jobs 4 --retry 3 --path=.bundle
21+
ruby-version: "3.2"
22+
bundler-cache: true
2723
- name: Lint
2824
run: bundle exec rubocop
2925

0 commit comments

Comments
 (0)