Skip to content

Commit

Permalink
Merge pull request #6 from kou/ci-ruby-versions
Browse files Browse the repository at this point in the history
ci: Test with Ruby 2.6, 2.7, 3.0, 3.1 and head
  • Loading branch information
dgraham authored Apr 21, 2024
2 parents 63a963e + e0dc200 commit c16cd60
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@ jobs:
test:
name: rake test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- head
- "3.1"
- "3.0"
- "2.7"
- "2.6"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: |
gem install bundler --no-document
bundle install
bundle exec rake test

0 comments on commit c16cd60

Please sign in to comment.