Skip to content

Commit

Permalink
Merge pull request #927 from m-nakamura145/bump-ruby-versions-on-test…
Browse files Browse the repository at this point in the history
…-jobs
  • Loading branch information
ekohl authored May 12, 2024
2 parents f300fcc + 733193d commit 03c7a4f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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", "3.2", "3.1", "3.0", "2.7"]
include:
- rails: "5.2"
ruby: "2.7.8"
Expand All @@ -19,7 +19,6 @@ jobs:
ruby: "2.6.10"

env:
RUBY_VERSION: ${{ matrix.ruby }}
RAILS_VERSION: ${{ matrix.rails }}

steps:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/rubocop-challenger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 03c7a4f

Please sign in to comment.