зеркало из https://github.com/arthurnn/twirp-ruby.git
Merge pull request #116 from bquorning/run-ci-with-different-versions-of-faraday
Run CI with different versions of Faraday
This commit is contained in:
Коммит
c9c8b5ea9a
|
@ -10,6 +10,11 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: Ruby ${{ matrix.ruby_version }} with ${{ matrix.gemfile }}
|
||||
|
||||
env:
|
||||
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
ruby_version:
|
||||
|
@ -17,9 +22,13 @@ jobs:
|
|||
- "3.0"
|
||||
- "3.1"
|
||||
- "head"
|
||||
gemfile:
|
||||
- "faraday-0"
|
||||
- "faraday-1"
|
||||
- "faraday-2"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*.gem
|
||||
|
||||
/Gemfile.lock
|
||||
/gemfiles/*.lock
|
||||
|
||||
vendor/ruby
|
||||
example/vendor
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
source 'https://rubygems.org'
|
||||
gemspec path: '..'
|
||||
|
||||
gem 'faraday', '~> 0'
|
|
@ -0,0 +1,4 @@
|
|||
source 'https://rubygems.org'
|
||||
gemspec path: '..'
|
||||
|
||||
gem 'faraday', '~> 1'
|
|
@ -0,0 +1,4 @@
|
|||
source 'https://rubygems.org'
|
||||
gemspec path: '..'
|
||||
|
||||
gem 'faraday', '~> 2'
|
Загрузка…
Ссылка в новой задаче