Skip to content

Commit babdd55

Browse files
authored
Add Ruby 3.3 to CI matrix (#2208)
* Use the official ruby_versions action for workflow For these gems' CI, using the ruby_versions action will make the Ruby version matrix slightly easier to maintain. * Add Ruby 3.3 to sentry-rails & sentry-sidekiq's matrix manually
1 parent b420bf8 commit babdd55

File tree

6 files changed

+30
-6
lines changed

6 files changed

+30
-6
lines changed

.github/workflows/sentry_delayed_job_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1414
cancel-in-progress: true
1515
jobs:
16+
ruby-versions:
17+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
18+
with:
19+
engine: cruby-jruby
20+
min_version: 2.4
1621
test:
22+
needs: ruby-versions
1723
defaults:
1824
run:
1925
working-directory: sentry-delayed_job
2026
name: Ruby ${{ matrix.ruby_version }}, options - ${{ toJson(matrix.options) }}
2127
runs-on: ${{ matrix.os }}
2228
strategy:
2329
matrix:
24-
ruby_version: [2.4, 2.5, 2.6, 2.7, "3.0", "3.1", "3.2", jruby]
30+
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2531
os: [ubuntu-latest]
2632
include:
2733
- {

.github/workflows/sentry_opentelemetry_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1414
cancel-in-progress: true
1515
jobs:
16+
ruby-versions:
17+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
18+
with:
19+
engine: cruby-jruby
20+
min_version: 2.6
1621
test:
22+
needs: ruby-versions
1723
defaults:
1824
run:
1925
working-directory: sentry-opentelemetry
2026
name: Ruby ${{ matrix.ruby_version }} & OpenTelemetry ${{ matrix.opentelemetry_version }}, options - ${{ toJson(matrix.options) }}
2127
runs-on: ${{ matrix.os }}
2228
strategy:
2329
matrix:
24-
ruby_version: [2.6, 2.7, "3.0", "3.1", "3.2", jruby]
30+
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2531
# opentelemetry_version: [1.2.0]
2632
os: [ubuntu-latest]
2733
include:

.github/workflows/sentry_rails_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
rails_version: [6.1.0, 7.0.0, 7.1.0]
26-
ruby_version: [2.7, "3.0", "3.1", "3.2"]
26+
ruby_version: [2.7, "3.0", "3.1", "3.2", "3.3"]
2727
os: [ubuntu-latest]
2828
include:
2929
- { os: ubuntu-latest, ruby_version: "2.4", rails_version: 5.0.0 }

.github/workflows/sentry_resque_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1414
cancel-in-progress: true
1515
jobs:
16+
ruby-versions:
17+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
18+
with:
19+
engine: cruby-jruby
20+
min_version: 2.4
1621
test:
22+
needs: ruby-versions
1723
defaults:
1824
run:
1925
working-directory: sentry-resque
2026
name: Ruby ${{ matrix.ruby_version }}, options - ${{ toJson(matrix.options) }}
2127
runs-on: ${{ matrix.os }}
2228
strategy:
2329
matrix:
24-
ruby_version: [2.4, 2.5, 2.6, 2.7, "3.0", "3.1", "3.2", jruby]
30+
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2531
os: [ubuntu-latest]
2632
include:
2733
- {

.github/workflows/sentry_ruby_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1414
cancel-in-progress: true
1515
jobs:
16+
ruby-versions:
17+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
18+
with:
19+
engine: cruby-jruby
20+
min_version: 2.4
1621
test:
22+
needs: ruby-versions
1723
defaults:
1824
run:
1925
working-directory: sentry-ruby
2026
name: Ruby ${{ matrix.ruby_version }} & Rack ${{ matrix.rack_version }}, options - ${{ toJson(matrix.options) }}
2127
runs-on: ${{ matrix.os }}
2228
strategy:
2329
matrix:
24-
ruby_version: [2.4, 2.5, 2.6, 2.7, "3.0", "3.1", "3.2", jruby]
30+
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2531
rack_version: [2.0, 3.0]
2632
redis_rb_version: [4.0]
2733
os: [ubuntu-latest]

.github/workflows/sentry_sidekiq_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
sidekiq_version: ["5.0", "6.0", "7.0"]
25-
ruby_version: ["2.7", "3.0", "3.1", "3.2", jruby]
25+
ruby_version: ["2.7", "3.0", "3.1", "3.2", "3.3", jruby]
2626
os: [ubuntu-latest]
2727
include:
2828
- { os: ubuntu-latest, ruby_version: 2.4, sidekiq_version: 5.0 }

0 commit comments

Comments
 (0)