Skip to content

work on reusable workflow #88

work on reusable workflow

work on reusable workflow #88

Workflow file for this run

name: RuboCop
on: [push]
jobs:
rubocop:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.0
- name: Install dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Run RuboCop
run: bundle exec rubocop