Skip to content

Commit

Permalink
Bump Ruby and Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
qnighy committed Nov 10, 2023
1 parent 6246b23 commit 83b6388
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ jobs:
test:
strategy:
matrix:
ruby: ["2.5", "2.6", "2.7", "3.0"]
ruby: ["3.0", "3.1", "3.2"]
gemfile: [Gemfile]
include:
- ruby: "2.7"
gemfile: "gemfiles/rails-6.0.gemfile"
- ruby: "2.6"
gemfile: "gemfiles/rails-5.2.gemfile"
- ruby: "3.2"
gemfile: "gemfiles/rails-7.0.gemfile"
- ruby: "3.2"
gemfile: "gemfiles/rails-6.1.gemfile"

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- name: Send coverage
uses: paambaati/codeclimate-action@v2.7.5
uses: paambaati/codeclimate-action@v5
env:
CC_TEST_REPORTER_ID: 921d046db793707b7d0c0d1305970a137fdf98fbc6ceeb6c355c44757040244f
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.2.2
2 changes: 1 addition & 1 deletion gemfiles/rails-5.2.gemfile → gemfiles/rails-6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# Specify your gem's dependencies in open_api_annotator.gemspec
gemspec path: '..'

gem 'railties', '~> 5.2.0'
gem 'railties', '~> 6.1.0'
2 changes: 1 addition & 1 deletion gemfiles/rails-6.0.gemfile → gemfiles/rails-7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# Specify your gem's dependencies in open_api_annotator.gemspec
gemspec path: '..'

gem 'railties', '~> 6.0.0'
gem 'railties', '~> 7.0.0'
2 changes: 1 addition & 1 deletion open_api_annotator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "open_api", ">= 0.5.0"
spec.add_dependency "active_model_serializers", "~> 0.10.0"

rails_versions = ['>= 5.0', '< 6.2']
rails_versions = ['>= 5.0', '< 7.2']
spec.add_dependency "actionpack", rails_versions
spec.add_dependency "railties", rails_versions

Expand Down

0 comments on commit 83b6388

Please sign in to comment.