Skip to content

Bump rubocop from 1.69.1 to 1.69.2 (#739) #1703

Bump rubocop from 1.69.1 to 1.69.2 (#739)

Bump rubocop from 1.69.1 to 1.69.2 (#739) #1703

Workflow file for this run

name: Ruby
on: [push]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow-failures }}
strategy:
matrix:
ruby: ['3.3']
allow-failures: [false]
include:
- ruby: head
allow-failures: true
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install ruby dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Check source files using `rubocop`
run: rubocop
- name: Test with Rake
env:
REDIS: ${{ env.REDIS_HOST }}
run: |
bundle exec rspec
- name: Check `simplecov` line coverage
run: cat coverage/.last_run.json | jq '.result.line' | grep -q '100'
- name: Check `simplecov` branch coverage
run: cat coverage/.last_run.json | jq '.result.branch' | grep -q '100'