Skip to content

Commit f7cef5e

Browse files
committed
Run the CI vs several versions of ruby
1 parent c72624b commit f7cef5e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ on:
88
jobs:
99
run-rspec-tests:
1010
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
ruby-version: [2.7, 3.4]
14+
1115
steps:
1216
- name: Checkout code
1317
uses: actions/checkout@v4
1418

15-
- name: Set up Ruby
19+
- name: Set up Ruby ${{ matrix.ruby-version }}
1620
uses: ruby/setup-ruby@v1
1721
with:
18-
ruby-version: 2.7
22+
ruby-version: ${{ matrix.ruby-version }}
1923
bundler-cache: true
2024

2125
- name: Run tests

lib/pipedrive/api_operations/request.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def api_version
1919

2020
def api_version_prefix
2121
return api_version if api_version == :v1
22+
2223
"api/#{api_version}"
2324
end
2425

0 commit comments

Comments
 (0)