Skip to content

Commit

Permalink
Add Ruby 3.3 to build matrix (#533)
Browse files Browse the repository at this point in the history
Also update lingering references to Ruby 2.7 in rubocop & gemspec config
as it has been EOL for a while now.
  • Loading branch information
Tabby committed Jan 5, 2024
1 parent be765fd commit 7640a2a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["3.0", "3.1", "3.2"]
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
rails-version:
- "6.1.7.6"
- "7.0.8"
Expand All @@ -34,6 +34,8 @@ jobs:
exclude:
- ruby-version: "3.2"
rails-version: "6.1.7.6"
- ruby-version: "3.3"
rails-version: "6.1.7.6"
runs-on: ubuntu-latest
services:
postgres:
Expand Down Expand Up @@ -67,15 +69,17 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["3.0", "3.1", "3.2"]
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
rails-version:
- "6.1.7.6"
- "7.0.8"
- "7.1.1"
- "main"
mysql-version: ["8.0", "8.2"]
exclude:
- ruby-version: 3.2
- ruby-version: "3.2"
rails-version: "6.1.7.6"
- ruby-version: "3.3"
rails-version: "6.1.7.6"
runs-on: ubuntu-latest
services:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inherit_gem:
gc_ruboconfig: rubocop.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
NewCops: enable

Metrics/AbcSize:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.0
2 changes: 1 addition & 1 deletion statesman.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.0"

spec.add_development_dependency "ammeter", "~> 1.1"
spec.add_development_dependency "bundler", "~> 2"
Expand Down

0 comments on commit 7640a2a

Please sign in to comment.