Skip to content

Commit

Permalink
Merge pull request #19 from infiton/update-ci
Browse files Browse the repository at this point in the history
run CI on all supported ruby versions
  • Loading branch information
infiton authored Jul 4, 2022
2 parents 12d97c8 + 827c73d commit 62d3423
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ main ]
branches: [ master ]
pull_request:
branches: [ main ]
branches: [ master ]

jobs:
test:
Expand All @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
ruby-version: ['2.4', '2.5']
ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1']

steps:
- uses: actions/checkout@v2
Expand All @@ -22,7 +22,8 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: rubocop
- if: ${{ matrix.ruby-version == '3.1' }}
name: rubocop
run: bundle exec rubocop
- name: tests
run: bundle exec rake test

0 comments on commit 62d3423

Please sign in to comment.