Skip to content

Commit

Permalink
test both faradays
Browse files Browse the repository at this point in the history
  • Loading branch information
pcai committed Jul 17, 2024
1 parent 3f29a19 commit f754cb7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
test:
name: "Ruby ${{ matrix.ruby }}"
name: "Ruby ${{ matrix.ruby }} + Faraday ${{ matrix.faraday }}"
runs-on: ubuntu-latest

strategy:
Expand All @@ -18,6 +18,11 @@ jobs:
- "3.1"
- "3.0"
- "jruby-head"
faraday:
- "~> 1.0"
- "~> 2.0"
env:
FARADAY_VERSION: ${{ matrix.faraday }}

steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 6 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
source 'https://rubygems.org'
gemspec

gem "rake", "~> 13.0"
gem "rspec", "~> 3.7.0"
gem "httpi"
gem 'faraday', ENV['FARADAY_VERSION'] || '~> 2.8'
gem 'httpi'
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.7.0'

gem 'simplecov', require: false
gem 'method_profiler', require: false
gem 'coveralls', '~> 0.8', require: false
gem 'method_profiler', require: false
gem 'simplecov', require: false

gem 'rubocop-packaging', require: false

0 comments on commit f754cb7

Please sign in to comment.