Skip to content

fix rubocop

fix rubocop #25

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/cancel-workflow-action@0.12.1
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: rubocop --parallel --fail-level R