name: Lint on: push: branches: - main pull_request: jobs: test: runs-on: ubuntu-latest name: Rubocop steps: - uses: actions/checkout@v3 - name: Set up Ruby 3.2 uses: ruby/setup-ruby@v1 with: ruby-version: 3.2 bundler-cache: true - name: Install dependencies run: bundle install - name: Run Rubocop run: bin/lint --no-fix