Skip to content

Commit b17ebd5

Browse files
committed
Rails matrix
1 parent 31f0d37 commit b17ebd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24+
rails-version: [ '7.0', '7.1', '7.2', '8.0' ]
2425
ruby-version: ['3.1', '3.2', '3.3']
26+
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
27+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile
2528

2629
steps:
2730
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)