Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jobs:
rubocop:
name: Rubocop
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7.2
- name: Install Rubocop
run: |
gem install rubocop
gem install rubocop-rails
gem install rubocop-rspec
- name: Run Rubocop
run: rubocop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment