name: Lint on: push: branches: [ main ] pull_request: branches: [ main ] jobs: lint: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1.131.0 with: ruby-version: 3.2 bundler-cache: true - name: Install dependencies env: ACTIVE_RECORD_VERSION: 7.0 run: bundle install --jobs 3 --retry 3 - name: Run tests run: bundle exec rubocop -D