From 2f476dd76d47051c44bc0a22ab3139764180dda5 Mon Sep 17 00:00:00 2001 From: Stephen Ierodiaconou Date: Thu, 28 Mar 2024 12:17:40 +0100 Subject: [PATCH 1/2] Update CI to test against newer Rubies, and set the min ruby version supported in the gemspec --- .github/workflows/ruby.yml | 2 ++ .ruby-version | 2 +- unitwise.gemspec | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 548f41a..5dd4083 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -22,6 +22,8 @@ jobs: - '2.7' - '3.0' - '3.1' + - '3.2' + - '3.3' - 'jruby' - 'truffleruby' diff --git a/.ruby-version b/.ruby-version index 94ff29c..15a2799 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.1 +3.3.0 diff --git a/unitwise.gemspec b/unitwise.gemspec index 5d7c10a..8c5e747 100644 --- a/unitwise.gemspec +++ b/unitwise.gemspec @@ -20,6 +20,8 @@ Gem::Specification.new do |gem| gem.test_files = gem.files.grep(/^test\//) gem.require_paths = ['lib'] + gem.required_ruby_version = '>= 2.6' + gem.add_dependency 'liner', '~> 0.2' gem.add_dependency 'signed_multiset', '~> 0.2' gem.add_dependency 'memoizable', '~> 0.4' From 488a277b25cda8b41dffb22d4a4ab4c3b9036ee6 Mon Sep 17 00:00:00 2001 From: Stephen Ierodiaconou Date: Thu, 28 Mar 2024 12:21:07 +0100 Subject: [PATCH 2/2] Update Actions workflow to use latest checkout action --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 5dd4083..e42e6cc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -32,7 +32,7 @@ jobs: env: BUNDLE_WITHOUT: 'yard pry' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1