8.2.0 release #2111
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: Lint | |
on: | |
pull_request: | |
branches: | |
- '**' | |
push: | |
branches: | |
- main | |
jobs: | |
rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache | |
uses: actions/cache@v2.1.3 | |
with: | |
path: vendor/bundle | |
key: 2.7.2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1.159.0 | |
with: | |
ruby-version: 2.7.2 | |
- name: Install dependencies | |
run: | | |
bundle config path vendor/bundle | |
bundle install --without default development test | |
- name: Run Rubocop | |
run: bin/rubocop -P |