Skip to content

fix rubocop

fix rubocop #24

Workflow file for this run

name: Rubocop
on:
push:
# branches:
# - master
pull_request:
# branches:
# - master
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Install rubocop
run: gem install rubocop -v "~>1.63"
- name: Run rubocop
run: bundle exec rubocop --parallel --fail-level R