Skip to content

GitHub Action to setup Problem Matchers for RuboCop.

Notifications You must be signed in to change notification settings

r7kamura/rubocop-problem-matchers-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rubocop-problem-matchers-action

GitHub Action to setup Problem Matchers for RuboCop.

Usage

Add this action as a step before running rubocop step:

name: test

on:
  pull_request:
  push:
    branches:
      - main

jobs:
  test:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
          ruby-version: 2.7.2
      - uses: r7kamura/rubocop-problem-matchers-action@v1
      - run: bundle exec rubocop --parallel

Note

  • rubocop --color is not supported.
  • Use ref on actions/checkout to annotate with actual line numbers.

Screenshot

screenshot

About

GitHub Action to setup Problem Matchers for RuboCop.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •