name: rubocop
on:
  push:
  pull_request:
  schedule:
  - cron: 45 4 * * 3
jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3'
        bundler-cache: true
    - run: bundle exec rubocop
