Skip to content

Commit 2ba3845

Browse files
author
Anil Kumar Maurya
authored
Update ruby.yml to include ruby 3.0, 2.7, 2.6 & 2.5
1 parent 53a08d6 commit 2ba3845

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ jobs:
1717
test:
1818

1919
runs-on: ubuntu-latest
20+
21+
strategy:
22+
matrix:
23+
ruby-version: [3.0.x, 2.7.x, 2.6.x, 2.5.x]
2024

2125
steps:
2226
- uses: actions/checkout@v2
23-
- name: Set up Ruby
24-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
25-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
26-
# uses: ruby/setup-ruby@v1
27+
- name: Set up Ruby ${{ matrix.ruby-version }}
2728
uses: ruby/setup-ruby@v1
2829
with:
29-
ruby-version: 2.6
30+
ruby-version: ${{ matrix.ruby-version }}
3031
- name: Install dependencies
3132
run: bundle install
3233
- name: Compile

0 commit comments

Comments
 (0)