Upgrade Minitest to version 5.22.x (Drop Ruby 2.4 and 2.5 from CI) (#… #414
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/main.yml | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
test-ruby: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [ubuntu] | |
ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Build and run tests | |
run: | | |
gem install bundler -v 2.4.6 | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake |