Skip to content

Commit 8226b15

Browse files
authored
Merge pull request #267 from gjtorikian/rb-3
Support Ruby 3.3
2 parents 2df7927 + ae1c971 commit 8226b15

File tree

7 files changed

+272
-133
lines changed

7 files changed

+272
-133
lines changed

.github/workflows/cruby-build-and-install.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ on:
1111

1212
env:
1313
CACHE_KEY_PREFIX: "cruby-v1"
14-
15-
# "3.1,3.2" # SUPPORTED_RUBY_VERSIONS
16-
# ["3.1", "3.2"] # SUPPORTED_RUBY_MATRIX
17-
# "3.2" # LATEST_RUBY_VERSION
14+
SUPPORTED_RUBY_VERSIONS: "3.1,3.2,3.3"
15+
LATEST_RUBY_VERSION: "3.3"
1816

1917
jobs:
2018
cruby-package:
@@ -37,15 +35,15 @@ jobs:
3735

3836
- uses: ruby/setup-ruby@v1
3937
with:
40-
ruby-version: "3.2" # LATEST_RUBY_VERSION
38+
ruby-version: "${{ env.LATEST_RUBY_VERSION }}"
4139

4240
- uses: oxidize-rb/actions/cross-gem@main
4341
id: cross-gem
4442
with:
4543
platform: ${{ matrix.platform }}
46-
ruby-versions: "3.1,3.2" # SUPPORTED_RUBY_VERSIONS
44+
ruby-versions: "${{ env.SUPPORTED_RUBY_VERSIONS }}"
4745

4846
- uses: oxidize-rb/actions/test-gem-build@main
4947
with:
5048
platform: ${{ matrix.platform }}
51-
ruby-versions: "3.1,3.2" # SUPPORTED_RUBY_VERSIONS
49+
ruby-versions: "${{ env.SUPPORTED_RUBY_VERSIONS }}"

.github/workflows/lint.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: 3.2
16+
ruby-version: 3.3
1717
rubygems: latest
1818
bundler-cache: true # 'bundle install' and cache
1919
- name: Rubocop
@@ -26,13 +26,13 @@ jobs:
2626
rust:
2727
- stable
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v4
3030

31-
- name: Obtain Rust
32-
run: rustup override set ${{ matrix.rust }}
31+
- name: Obtain Rust
32+
run: rustup override set ${{ matrix.rust }}
3333

34-
- name: Check clippy
35-
run: rustup component add clippy && cargo clippy
34+
- name: Check clippy
35+
run: rustup component add clippy && cargo clippy
3636

37-
- name: Check formatting
38-
run: rustup component add rustfmt && cargo fmt -- --check
37+
- name: Check formatting
38+
run: rustup component add rustfmt && cargo fmt -- --check

.github/workflows/test.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ jobs:
1212
- ubuntu-latest
1313
- macos-latest
1414
- windows-latest
15-
ruby:
16-
- 3.2
1715

1816
steps:
1917
- uses: actions/checkout@v4
2018

2119
- uses: oxidize-rb/actions/setup-ruby-and-rust@main
2220
with:
23-
ruby-version: ${{ matrix.ruby }}
21+
ruby-version: 3.3
2422
rubygems: latest
2523
bundler-cache: true
2624
cargo-cache: true

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.1
1+
3.3.0

0 commit comments

Comments
 (0)