Skip to content

Update rubocop to version 1.60.2 (#217) #157

Update rubocop to version 1.60.2 (#217)

Update rubocop to version 1.60.2 (#217) #157

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
cache-version: 7.0
- name: Rubocop
run: bundle exec rubocop
rspec:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
activesupport: ['6.1', '7.0']
rack: ['2.2', '3.0']
ruby: ['3.0', '3.1', '3.2']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: ${{ matrix.activesupport }}
env:
ACTIVESUPPORT: ${{ matrix.activesupport }}
RACK: ${{ matrix.rack }}
- name: Rspec
run: bundle exec rspec