|
6 | 6 | env:
|
7 | 7 | RAILS_ENV: test
|
8 | 8 | DATABASE_URL: postgres://test:password@127.0.0.1:5432/grape_on_rails_test
|
9 |
| - BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile.file }}.gemfile |
| 9 | + BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.entry.gemfile }}.gemfile |
10 | 10 | strategy:
|
11 | 11 | fail-fast: false
|
12 | 12 | matrix:
|
13 |
| - gemfile: |
14 |
| - - { ruby: '2.7', file: rails_6 } |
15 |
| - - { ruby: '3.0', file: rails_6_1 } |
16 |
| - - { ruby: '3.1', file: rails_7 } |
17 |
| - - { ruby: '3.2', file: rails_7 } |
18 |
| - - { ruby: '3.3', file: rails_7 } |
19 |
| - - { ruby: '3.4', file: rails_7 } |
20 |
| -# - { ruby: '3.2' ,file: rails_edge } |
| 13 | + entry: |
| 14 | + - { ruby: '2.7', gemfile: rails_6 } |
| 15 | + - { ruby: '3.0', gemfile: rails_6_1 } |
| 16 | + - { ruby: '3.2', gemfile: rails_7 } |
| 17 | + - { ruby: '3.4', gemfile: rails_8 } |
| 18 | +# - { ruby: '3.2', gemfile: rails_edge } |
21 | 19 | steps:
|
22 | 20 | - uses: actions/checkout@v3
|
23 | 21 | - name: Set up Ruby
|
|
36 | 34 | run: cp config/database.gha.yml config/database.yml
|
37 | 35 | - uses: harmon758/postgresql-action@v1
|
38 | 36 | with:
|
39 |
| - postgresql version: "14" |
| 37 | + postgresql version: "17" |
40 | 38 | postgresql db: grape_on_rails_test
|
41 | 39 | postgresql user: test
|
42 | 40 | postgresql password: password
|
|
0 commit comments