Skip to content

Update the checkout action to v3 to eliminate Node v12 deprecation wa… #10

Update the checkout action to v3 to eliminate Node v12 deprecation wa…

Update the checkout action to v3 to eliminate Node v12 deprecation wa… #10

Workflow file for this run

name: rubocop
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '2.7.7'
- '3.0.5'
- '3.1.3'
- '3.2.0'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Install dependencies
run: bundle install
- name: Run the rubocop
run: bundle exec rubocop --config .rubocop.yml --parallel