Lint your Ruby code in parallel to your builds.
- Ruby 2.6.3
- Rubocop + Rubocop Performance
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 }}