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