Skip to content

Commit

Permalink
Test against Ruby 3.4 (#265)
Browse files Browse the repository at this point in the history
* Quote ruby 3.0 in github actions

Otherwise it is interpreted as `3`, pulling in the latest 3.X instead.
actions/runner#849

Signed-off-by: Earlopain <[email protected]>

* Test against all supported ruby versions in one matrix

Just the lowest and highest supported version is a bit dangerous.
Previously many jobs tested against all ruby versions, this just adds it back to
one in order to not inflate the checks

Signed-off-by: Earlopain <[email protected]>

* Test against Ruby 3.4 in CI

Signed-off-by: Earlopain <[email protected]>

---------

Signed-off-by: Earlopain <[email protected]>
  • Loading branch information
Earlopain authored Jan 17, 2025
1 parent 8f6b6b7 commit 3664107
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: '3.0'
- run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ 3.0, 3.3, jruby-9.4 ]
ruby: [ '3.0', 3.1, 3.2, 3.3, 3.4, jruby-9.4 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ 3.0, 3.3, jruby-9.4 ]
ruby: [ '3.0', 3.4, jruby-9.4 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ 3.0, 3.3, jruby-9.4 ]
ruby: [ '3.0', 3.4, jruby-9.4 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Added
- Added an API Generator ([#233](https://github.com/opensearch-project/opensearch-ruby/issues/233))
- Added a workflow to generate API methods from OpenSearch API Spec
- Added support for Ruby 3.4 ([#265](https://github.com/opensearch-project/opensearch-ruby/pull/265))
### Changed
- Restructured the API methods and modules to be more efficient and intuitive
### Deprecated
Expand Down

0 comments on commit 3664107

Please sign in to comment.