Ruby 3 (#21)
This commit is contained in:
parent
9d7a388b2c
commit
af63e3eb95
1 changed files with 10 additions and 7 deletions
17
.github/workflows/ruby.yml
vendored
17
.github/workflows/ruby.yml
vendored
|
@ -8,9 +8,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up Ruby 2.7
|
- name: Set up Ruby 2.7
|
||||||
uses: actions/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7.x
|
ruby-version: 2.7
|
||||||
- name: Build and test with Rake
|
- name: Build and test with Rake
|
||||||
run: |
|
run: |
|
||||||
gem install bundler
|
gem install bundler
|
||||||
|
@ -21,12 +21,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
ruby_version: [2.4.x, 2.5.x, 2.6.x, 2.7.x]
|
ruby_version: [2.4, 2.5, 2.6, 2.7, 3.0]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up Ruby ${{ matrix.ruby_version }}
|
- name: Set up Ruby ${{ matrix.ruby_version }}
|
||||||
uses: actions/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby_version }}
|
ruby-version: ${{ matrix.ruby_version }}
|
||||||
- name: Build and test with Rake
|
- name: Build and test with Rake
|
||||||
|
@ -37,12 +37,15 @@ jobs:
|
||||||
|
|
||||||
rails:
|
rails:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ruby_version: [2.5, 2.6, 2.7, 3.0]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up Ruby 2.7
|
- name: Set up Ruby ${{ matrix.ruby_version }}
|
||||||
uses: actions/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7.x
|
ruby-version: ${{ matrix.ruby_version }}
|
||||||
- name: Test gem in Rails application
|
- name: Test gem in Rails application
|
||||||
run: |
|
run: |
|
||||||
cd spec/rails
|
cd spec/rails
|
||||||
|
|
Loading…
Reference in a new issue