mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
run multiple ruby/rails versions
This commit is contained in:
parent
08b1678e53
commit
4c06f95a68
7
.github/workflows/ruby.yml
vendored
7
.github/workflows/ruby.yml
vendored
@ -16,6 +16,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
ruby: [2.6, 2.7]
|
||||||
|
rails: [5.2.4.4, 6.0.3.4]
|
||||||
|
env:
|
||||||
|
RAILS_VERSION: ${{ matrix.rails }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -28,7 +33,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
rswag-ui/node_modules
|
rswag-ui/node_modules
|
||||||
vendor/bundle
|
vendor/bundle
|
||||||
key: ${{ runner.os }}-deps-${{ hashFiles('**/Gemfile.lock', '**/yarn.lock') }}
|
key: ${{ runner.os }}-ruby-${{ matrix.ruby }}-rails-${{ matrix.rails }}-${{ hashFiles('**/Gemfile.lock', '**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user