mirror of
https://github.com/samsonjs/grape-active_model_serializers.git
synced 2026-03-25 08:45:55 +00:00
Merge pull request #103 from samsonjs/ruby-4
Add Ruby 4.0.0 to test matrix
This commit is contained in:
commit
c985c86410
2 changed files with 5 additions and 5 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 3.4.4
|
||||
ruby-version: 4.0.0
|
||||
- name: Install dependencies
|
||||
run: bundle install --jobs 4 --retry 3
|
||||
- name: Run Danger
|
||||
|
|
@ -21,10 +21,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
ruby-version: [3.4.4, 3.3.8, 3.2.8, 3.1.7]
|
||||
grape-version: ['~> 2.3.0', '~> 3.0']
|
||||
ruby-version: [4.0.0, 3.4.8, 3.3.10, 3.2.9]
|
||||
grape-version: ['~> 3.0.0', '~> 2.3.0']
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby-version }}
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -2,7 +2,7 @@ source 'https://rubygems.org'
|
|||
|
||||
gemspec
|
||||
|
||||
case version = ENV['GRAPE_VERSION'] || '~> 2.3.0'
|
||||
case version = ENV['GRAPE_VERSION'] || '~> 3.0.0'
|
||||
when 'HEAD'
|
||||
gem 'grape', github: 'intridea/grape'
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue