Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: test against Ruby 3.1 and 3.2
Browse files Browse the repository at this point in the history
G-Rath committed Mar 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent cff30ae commit 934444c
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/generator.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ['2.7', '3.0']
ruby: ['2.7', '3.0', '3.1', '3.2']
use_package_json_gem: ['true', 'false']
gemfile:
- gemfiles/Gemfile-rails.6.0.x
@@ -28,6 +28,11 @@ jobs:
# Uncomment the following line only to ensure compatibility with the
# upcomming Rails versions, maybe before a release.
#- gemfiles/Gemfile-rails-edge
exclude:
- ruby: '3.1'
gemfile: gemfiles/Gemfile-rails.6.0.x
- ruby: '3.2'
gemfile: gemfiles/Gemfile-rails.6.0.x

env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
9 changes: 7 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ['2.7', '3.0']
ruby: ['2.7', '3.0', '3.1', '3.2']

steps:
- uses: actions/checkout@v4
@@ -39,14 +39,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ['2.7', '3.0']
ruby: ['2.7', '3.0', '3.1', '3.2']
gemfile:
- gemfiles/Gemfile-rails.6.0.x
- gemfiles/Gemfile-rails.6.1.x
- gemfiles/Gemfile-rails.7.0.x
# Uncomment the following line only to ensure compatibility with the
# upcomming Rails versions, maybe before a release.
#- gemfiles/Gemfile-rails-edge
exclude:
- ruby: '3.1'
gemfile: gemfiles/Gemfile-rails.6.0.x
- ruby: '3.2'
gemfile: gemfiles/Gemfile-rails.6.0.x

env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

0 comments on commit 934444c

Please sign in to comment.