Skip to content

Commit b572503

Browse files
Update CI to Ruby 3.3, bump minimum Ruby to 3.1
Ruby 2.7 has been EOL since March 2023. The C extension tracing behavior differs between Ruby 2.7 and modern Ruby (e.g. Class.new call visibility in traces), causing all trace-output tests to fail. - CI: Ruby 2.7 → 3.3, actions/checkout@v2 → v4 - Gemspec: required_ruby_version >= 2.7.0 → >= 3.1.0 - .ruby-version: 2.7.8 → 3.3.7
1 parent 8443b16 commit b572503

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
ruby: ["2.7"]
11+
ruby: ["3.3"]
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
- uses: ruby/setup-ruby@v1
1515
with:
1616
ruby-version: ${{ matrix.ruby }}
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
ruby: ["2.7"]
24+
ruby: ["3.3"]
2525
steps:
2626
- run: sudo apt-get update && sudo apt-get install -y valgrind
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v4
2828
- uses: ruby/setup-ruby@v1
2929
with:
3030
ruby-version: ${{ matrix.ruby }}

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.8
1+
3.3.7

rotoscope.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
2121
end
2222
s.metadata["allowed_push_host"] = "https://rubygems.org/"
2323

24-
s.required_ruby_version = ">= 2.7.0"
24+
s.required_ruby_version = ">= 3.1.0"
2525
s.extensions = ["ext/rotoscope/extconf.rb"]
2626

2727
s.add_development_dependency("minitest", "~> 5.0")

0 commit comments

Comments
 (0)