Merge pull request #1925 from Shopify/release_22_5_0 #4583
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RuboCop | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Install gems | |
run: | | |
bundle config path vendor/bundle | |
bundle config set without 'default development test' | |
bundle install --jobs 4 --retry 3 | |
- name: Run RuboCop | |
run: bundle exec rubocop --parallel |