Skip to content

Commit

Permalink
Add Ruby 3.1 and later to the build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
kymmt90 committed Jan 6, 2024
1 parent 1a2e28c commit a40f5dd
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,25 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1.0-preview1']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
include:
- ruby: '3.0'
- ruby: '2.6'
bundler-version: '2.4.22'
- ruby: '2.7'
bundler-version: '2.4.22'
- ruby: '3.3'
report-coverage: true
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: gem install bundler
- name: Install old Bundler
if: matrix.bundler-version
run: gem install bundler -v ${{ matrix.bundler-version }}
- name: Install Bundler
if: "!matrix.bundler-version"
run: gem install bundler
- run: bundle install -j4
- name: Run tests and report test coverage
if: matrix.report-coverage
Expand Down

0 comments on commit a40f5dd

Please sign in to comment.