From eb9f0f7528356f6ded094fa251b5e1fcd127a9a7 Mon Sep 17 00:00:00 2001 From: m-nakamura145 Date: Fri, 10 May 2024 08:36:27 +0900 Subject: [PATCH 1/3] Bump ruby versions on test jobs --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8252680a7..a5b5f3d6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: rails: ["7.1", "7.0", "6.1", "6.0"] - ruby: ["3.3.0", "3.2.2", "3.1.4", "3.0.6", "2.7.8"] + ruby: ["3.3.1", "3.2.4", "3.1.5", "3.0.7", "2.7.8"] include: - rails: "5.2" ruby: "2.7.8" From 363a90675bed01100c3aba9e99a0662fc6d086c9 Mon Sep 17 00:00:00 2001 From: Masato Nakamura Date: Fri, 10 May 2024 19:55:52 +0900 Subject: [PATCH 2/3] Update .github/workflows/build.yml Co-authored-by: Ewoud Kohl van Wijngaarden --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5b5f3d6d..19829b223 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: rails: ["7.1", "7.0", "6.1", "6.0"] - ruby: ["3.3.1", "3.2.4", "3.1.5", "3.0.7", "2.7.8"] + ruby: ["3.3", "3.2", "3.1", "3.0", "2.7"] include: - rails: "5.2" ruby: "2.7.8" From 733193d324cbf2a2a90de4b3880a7fd40866e01b Mon Sep 17 00:00:00 2001 From: m-nakamura145 Date: Sun, 12 May 2024 10:51:44 +0900 Subject: [PATCH 3/3] Remove RUBY_VERSION env --- .github/workflows/build.yml | 1 - .github/workflows/rubocop-challenger.yml | 2 -- .github/workflows/rubocop.yml | 2 -- Gemfile | 1 - 4 files changed, 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19829b223..0f1d59b8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,6 @@ jobs: ruby: "2.6.10" env: - RUBY_VERSION: ${{ matrix.ruby }} RAILS_VERSION: ${{ matrix.rails }} steps: diff --git a/.github/workflows/rubocop-challenger.yml b/.github/workflows/rubocop-challenger.yml index eca787329..b5345c8f1 100644 --- a/.github/workflows/rubocop-challenger.yml +++ b/.github/workflows/rubocop-challenger.yml @@ -8,8 +8,6 @@ jobs: create-pr: name: Create Pull Request runs-on: ubuntu-latest - env: - RUBY_VERSION: 3.2.3 steps: - uses: actions/checkout@v4 - name: Set up Ruby 3.2 diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 49e35d4dc..56368ef1b 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -5,8 +5,6 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest - env: - RUBY_VERSION: 3.2.3 steps: - uses: actions/checkout@v4 diff --git a/Gemfile b/Gemfile index 358f8f65e..813bfcd25 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,6 @@ source 'https://rubygems.org' gemspec path: '.' # use ENV vars, with default value as fallback for local setup -ruby(ENV['RUBY_VERSION'] || '3.2.2') gem 'actionpack', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0" gem 'activesupport', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0"