Skip to content

Drop Support Ruby 2.7 #23

Drop Support Ruby 2.7

Drop Support Ruby 2.7 #23

Workflow file for this run

name: "RuboCop"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
rubocop:
name: RuboCop
runs-on: ubuntu-latest
env:
api-dir: ./
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Run bundle install
working-directory: ${{env.api-dir}}
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: RuboCop checks
working-directory: ${{env.api-dir}}
run: bundle exec rubocop