From 733193d324cbf2a2a90de4b3880a7fd40866e01b Mon Sep 17 00:00:00 2001 From: m-nakamura145 Date: Sun, 12 May 2024 10:51:44 +0900 Subject: [PATCH] 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 19829b22..0f1d59b8 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 eca78732..b5345c8f 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 49e35d4d..56368ef1 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 358f8f65..813bfcd2 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"