name: RuboCop on: - push - pull_request jobs: run: strategy: fail-fast: false matrix: ruby-version: - "3.1" runs-on: - ubuntu-latest name: ${{ matrix.ruby-version}} on ${{ matrix.runs-on }} runs-on: ${{ matrix.runs-on }} steps: - uses: actions/checkout@master - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Install dependencies run: | bundle install - name: run: | bundle exec rubocop