Skip to content

Solve rubocop issues #26

Solve rubocop issues

Solve rubocop issues #26

Workflow file for this run

---
name: CI
on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- name: rubocop version
timeout-minutes: 1
run: bundle exec rubocop --version
- name: rubocop
timeout-minutes: 5
run: bundle exec rubocop -c .rubocop.yml
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby:
- '3.3'
- '3.4'
- '3.5'
- '4.0'
experimental:
- false
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run tests
timeout-minutes: 5
run: ${{matrix.env}} bundle exec rspec