Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 690 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 690 Bytes

Github Action: Rubocop

Lint your Ruby code in parallel to your builds.

How it works

  • Ruby 2.6.3
  • Rubocop + Rubocop Performance

Instructions

In order to use this action you will need to specify the $GITHUB_TOKEN alongside the check:

# Worflow example
name: CI
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:

    - uses: actions/checkout@v1

    - name: Rubocop checks
        uses: dockwa/github-actions-rubocop@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}