Remove ruby 2.2 on ubuntu latest #23
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
name: Ruby Gem CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, ubuntu-latest] | |
ruby: ['2.1.9', '2.2.10', '2.3.8' ] | |
include: | |
- ruby: '2.1.9' | |
rack_version: '1.6.13' | |
redis_rb_version: '3.3.5' | |
- ruby: '2.2.10' | |
rack_version: '2.1.4.3' | |
redis_rb_version: '4.1.1' | |
- ruby: '2.3.8' | |
rack_version: '2.2.8' | |
redis_rb_version: '4.4.0' | |
exclude: | |
- ruby: '2.2.10' | |
os: ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Start Redis | |
uses: supercharge/redis-github-action@1.7.0 | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- run: rm -rf .git | |
- run: RACK_VERSION=${{ matrix.rack_version }} REDIS_RB_VERSION=${{ matrix.redis_rb_version }} make build | |
- run: RACK_VERSION=${{ matrix.rack_version }} REDIS_RB_VERSION=${{ matrix.redis_rb_version }} bundle exec rake |