Skip to content

Commit

Permalink
Update to to support Ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Dec 30, 2024
1 parent 51927ca commit 90cf6c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
key: ubuntu-test-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
ruby-version: 3.4
bundler-cache: true
- name: Test Ruby
run: make test:ruby
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-crate-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- x86_64-linux-musl
steps:
- uses: actions/checkout@v4
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1.1.9
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1.3.0
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
cargo-cache: true
cargo-vendor: false
Expand All @@ -45,11 +45,11 @@ jobs:
run: |
touch Rakefile
- uses: oxidize-rb/actions/cross-gem@v1.1.9
- uses: oxidize-rb/actions/cross-gem@v1.3.0
with:
platform: ${{ matrix.ruby-platform }}
working-directory: autocorrect-rb/
ruby-versions: "3.3, 3.2, 3.1" # optional
ruby-versions: "3.4, 3.3, 3.2" # optional

- name: Upload Gem
uses: actions/upload-artifact@v3
Expand All @@ -64,9 +64,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1.1.9
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1.3.0
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: false
cargo-cache: true
cargo-vendor: true
Expand All @@ -93,9 +93,9 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: cross-gem
path: pkg/
Expand Down

0 comments on commit 90cf6c7

Please sign in to comment.