name: 'Lint' on: push jobs: run-rubocop: name: Lint code strategy: fail-fast: false matrix: rubyVersion: ["2.7.6"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.rubyVersion }} bundler-cache: true cache-version: "${{ matrix.rubyVersion }}-0" - name: Run RuboCop run: bundle exec rubocop