Skip to content

Commit

Permalink
Add Ruby 3.3 to build matrix (gocardless#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 authored and dylan-hoefsloot committed Jan 11, 2024
1 parent 3165ff4 commit 035757a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ jobs:
- "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 035757a

Please sign in to comment.