From 91b02d832d75d7b22565b874fdd6e3c393d9d1a7 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Thu, 5 Jan 2023 10:41:48 +0900 Subject: [PATCH] Use Ruby 3.2 for RuboCop workflow Also bumped rubocop, rubocop-minitest, rubocop-performance and rubocop-rails because RuboCop workflow uses Gemfile.lock unlike Rails CI that removes it. --- .github/workflows/rubocop.yml | 4 ++-- Gemfile.lock | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 135defab0b3..d2a237db03c 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Ruby 3.1 + - name: Set up Ruby 3.2 uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1 + ruby-version: 3.2 bundler-cache: true - name: Run RuboCop diff --git a/Gemfile.lock b/Gemfile.lock index 28a1ec29d0c..941ff2fb6fc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -389,7 +389,7 @@ GEM retriable (3.1.2) rexml (3.2.5) rouge (3.27.0) - rubocop (1.39.0) + rubocop (1.41.1) json (~> 2.3) parallel (~> 1.10) parser (>= 3.1.2.1) @@ -401,17 +401,17 @@ GEM unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.23.0) parser (>= 3.1.1.0) - rubocop-minitest (0.22.0) + rubocop-minitest (0.25.1) rubocop (>= 0.90, < 2.0) rubocop-packaging (0.5.1) rubocop (>= 0.89, < 2.0) - rubocop-performance (1.13.1) + rubocop-performance (1.15.2) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.13.0) + rubocop-rails (2.17.4) activesupport (>= 4.2.0) rack (>= 1.1) - rubocop (>= 1.7.0, < 2.0) + rubocop (>= 1.33.0, < 2.0) ruby-progressbar (1.11.0) ruby-vips (2.1.4) ffi (~> 1.12)