Skip to content

Update redis requirement from >= 3.0.0, <= 5.1.0 to >= 3.0.0, <= 5.4.0 #116

Update redis requirement from >= 3.0.0, <= 5.1.0 to >= 3.0.0, <= 5.4.0

Update redis requirement from >= 3.0.0, <= 5.1.0 to >= 3.0.0, <= 5.4.0 #116

Workflow file for this run

name: Ruby
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Start Redis
uses: shogo82148/actions-setup-redis@v1
with:
redis-version: 5
- name: Run Rspec
run: bundle exec rspec
- if: ${{ matrix.ruby == '3.2' }}
name: Upload coverage results
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage
- name: Run Rubocop
run: bundle exec rubocop --config .rubocop/ruby-${{ matrix.ruby }}.yml
coverage:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download coverage report
uses: actions/download-artifact@v3
with:
name: coverage-report
path: coverage
- name: Check coverage
uses: vigetlabs/[email protected]
with:
minimum_coverage: 100
coverage_path: coverage/.last_run.json