add hyrax version to the test matrix #1657
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/[email protected] | |
with: | |
path: vendor/bundle | |
key: 2.6.5 | |
- name: Setup Ruby | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.6.5 | |
- name: Install dependencies | |
run: | | |
bundle config path vendor/bundle | |
bundle install --without default development test | |
- name: Run Rubocop | |
run: bin/rubocop -P |