Skip to content

Commit 5b974d3

Browse files
authored
feat: add support for ruby 4.0 (#855)
1 parent 8802d67 commit 5b974d3

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ jobs:
322322
- run: pytest -vv tests/integration/workflows/python_uv
323323

324324
ruby-integration:
325-
name: ${{ matrix.os }} / ${{ matrix.python }} / ruby
325+
name: ${{ matrix.os }} / ${{ matrix.python }} / ruby ${{ matrix.ruby }}
326326
if: github.repository_owner == 'aws'
327327
runs-on: ${{ matrix.os }}
328328
strategy:
@@ -333,14 +333,17 @@ jobs:
333333
- windows-latest
334334
python:
335335
- "3.13"
336+
ruby:
337+
- "3.2"
338+
- "4.0"
336339
steps:
337340
- uses: actions/checkout@v6
338341
- uses: actions/setup-python@v6
339342
with:
340343
python-version: ${{ matrix.python }}
341344
- uses: ruby/setup-ruby@4dc28cf14d77b0afa6832d9765ac422dbf0dfedd # v1
342345
with:
343-
ruby-version: "3.2"
346+
ruby-version: ${{ matrix.ruby }}
344347
- run: make init
345348
- run: pytest -vv tests/integration/workflows/ruby_bundler
346349

aws_lambda_builders/supported_runtimes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"ruby3.2",
3333
"ruby3.3",
3434
"ruby3.4",
35+
"ruby4.0",
3536
]
3637

3738
# Java runtimes

tests/integration/workflows/ruby_bundler/test_ruby.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
("ruby3.2",),
2222
("ruby3.3",),
2323
("ruby3.4",),
24+
("ruby4.0",),
2425
],
2526
)
2627
class TestRubyWorkflow(TestCase):

0 commit comments

Comments
 (0)