REVERT ME: trigger PR tests #5669
Workflow file for this run
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: Linting | |
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
paths: | |
- .github/workflows/lint.yaml | |
- '**.rb' | |
jobs: | |
rubocop: | |
name: Rubocop | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- name: Install rubocop | |
run: | | |
gem install rubocop --version 1.9.1 | |
gem install rubocop-rake | |
- name: Run rubocop | |
run: rubocop --display-cop-names --display-style-guide --parallel |