We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e8f8c commit 8551075Copy full SHA for 8551075
2 files changed
.github/workflows/ruby.yml
@@ -21,6 +21,10 @@ jobs:
21
strategy:
22
matrix:
23
ruby: [2.7, 3.0, 3.1]
24
+ faraday_version: [''] # Defaults to whatever's the most recent version.
25
+ include:
26
+ - ruby: 2.7
27
+ faraday_version: '~> 1.0'
28
steps:
29
- uses: actions/checkout@v2
30
@@ -34,9 +38,13 @@ jobs:
34
38
35
39
- name: Install dependencies
36
40
run: bundle _2.1.1_ install
41
+ env:
42
+ FARADAY_VERSION: ${{ matrix.faraday_version }}
37
43
44
- name: Run tests
45
run: bundle exec rake spec
46
47
48
49
- name: Upload coverage artifacts
50
uses: actions/upload-artifact@v2
Gemfile
@@ -6,3 +6,4 @@ source 'https://rubygems.org'
6
gemspec
7
8
gem 'byebug'
9
+gem 'faraday', ENV['FARADAY_VERSION'] if ENV['FARADAY_VERSION'].to_s != ''
0 commit comments