Skip to content

Commit

Permalink
ci: test against Ruby 3.1 and 3.2, and Node 20 (#433)
Browse files Browse the repository at this point in the history
* ci: test against Ruby 3.1 and 3.2

* ci: test against Node 20
  • Loading branch information
G-Rath authored Mar 8, 2024
1 parent cff30ae commit d029100
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [14.x, 16.x, 18.x]
node: [14.x, 16.x, 18.x, 20.x]

runs-on: ${{ matrix.os }}

Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [14.x, 16.x, 18.x]
node: [14.x, 16.x, 18.x, 20.x]

runs-on: ${{ matrix.os }}

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit d029100

Please sign in to comment.