diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2f81f17 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI +on: [push, pull_request] +jobs: + test: + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest] + # Could consider adding head, jruby-head, jruby in the future + ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', truffleruby, truffleruby-head] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - run: bundle exec rake \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 0bc07e2..6313b91 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - batch_queue (0.1.0) + batch_queue (1.0.0) GEM remote: https://rubygems.org/ @@ -19,13 +19,14 @@ GEM PLATFORMS ruby + universal-darwin-24 DEPENDENCIES batch_queue! - bundler (~> 1.16) + bundler (~> 2.2) minitest (~> 5.0) minitest-reporters (~> 1.4) rake (~> 13.0) BUNDLED WITH - 1.16.2 + 2.3.26 diff --git a/batch_queue.gemspec b/batch_queue.gemspec index bf164ac..efefd40 100644 --- a/batch_queue.gemspec +++ b/batch_queue.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 1.16" + spec.add_development_dependency "bundler", "~> 2.2" spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "minitest", "~> 5.0" spec.add_development_dependency "minitest-reporters", '~> 1.4'