Skip to content

Misc post open sourcing clean up #4

Misc post open sourcing clean up

Misc post open sourcing clean up #4

Workflow file for this run

name: Linter
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Generate lockfile for cache key
run: bundle lock
- name: Cache gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-linter-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-linter-
- name: Install gems
run: |
bundle config path vendor/bundle
bundle config set without 'default test'
bundle install --jobs 4 --retry 3
- name: Run Linter
run: bundle exec rubocop --parallel