Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
antulik committed Jun 29, 2024
1 parent 53d1e3c commit 1e1ef0f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
ruby-version: ['3.0', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
Expand All @@ -31,5 +31,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 3
- name: Run tests
run: bundle exec rake
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in active_interaction-extras.gemspec
gemspec

gem "sqlite3", ">= 2"
6 changes: 3 additions & 3 deletions active_interaction-extras.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
"changelog_uri" => "https://github.com/antulik/active_interaction-extras/blob/master/CHANGELOG.md",
}

spec.required_ruby_version = '>= 2.7'
spec.required_ruby_version = '>= 3.0'

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
Expand All @@ -27,14 +27,14 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency "active_interaction", ">= 5.0", "< 6.0"
spec.add_dependency "activemodel", ">= 6.0"
spec.add_dependency "activemodel", ">= 7.1"
spec.add_dependency "activesupport", ">= 7.1"

spec.add_development_dependency "bundler", "~> 2.2"
spec.add_development_dependency "rake", ">= 12.3.3"
spec.add_development_dependency "rspec", "~> 3.7"
spec.add_development_dependency "pry"
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "sqlite3", ">= 2"
spec.add_development_dependency "activerecord"
spec.add_development_dependency "activejob"
spec.add_development_dependency "actionpack"
Expand Down

0 comments on commit 1e1ef0f

Please sign in to comment.