Skip to content

Commit

Permalink
run CI against ruby 2.7, 3.0, 3.1, and 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaturtle committed Oct 16, 2023
1 parent 2bdf732 commit dccabb8
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,32 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: [2.7, 3.0, 3.1, 3.2]

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
with:
ruby-version: 2.7
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: bundle install
- run: bundle exec rspec

rubocop:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: [2.7, 3.0, 3.1, 3.2]

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
with:
ruby-version: 2.7
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: bundle install
- run: bundle exec rubocop

0 comments on commit dccabb8

Please sign in to comment.