Skip to content

Commit

Permalink
Run Rubocop against Ruby 3.2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
KJTsanaktsidis committed Jan 8, 2024
1 parent 33d4233 commit 26767a7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.6"
- name: Set up Gems
run: |
gem update --system --no-document
gem install bundler --no-document
bundle install --jobs 4 --retry 3 --path=.bundle
ruby-version: "3.2"
bundler-cache: true
- name: Lint
run: bundle exec rubocop

Expand Down

0 comments on commit 26767a7

Please sign in to comment.