This repository has been archived on 2023-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Dan McGregor c3f0a167d0 Fix instructions (#13)
Version is tagged as `v0.1.2` not `0.1.2`. Update instructions to accurately reflect that.
2019-09-11 22:15:04 -04:00
2019-09-02 22:31:44 -04:00
2019-09-02 21:41:40 -04:00
2019-09-02 23:06:32 -04:00
2019-09-02 21:28:34 -04:00
2019-09-02 22:31:27 -04:00
2019-09-02 21:28:34 -04:00
2019-09-02 21:28:34 -04:00
2019-09-11 22:15:04 -04:00

rubocop linter actions banner

Rubocop Linter Action

version number

GitHub Action to run Rubocop against your code.

Usage

Add the following to your GitHub action workflow:

- name: Rubocop Linter
  uses: andrewmcodes/rubocop-linter-action@v0.1.2
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Example Workflow

name: Ruby

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Set up Ruby 2.6
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.6.x
    - name: add PostgreSQL dependencies
      run: |
        sudo apt-get update
        sudo apt-get install -y postgresql-client libpq-dev
    - name: Rubocop Linter
      uses: andrewmcodes/rubocop-linter-action@v0.1.2
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Screenshots

example GitHub Action UI

Contributing

Contributing Guide

Code of Conduct

Code of Conduct

License

MIT

Recognition

This project was originally forked from gimenete/rubocop-action. Many thanks to Alberto Gimeno for creating this project.

Description
Create a check for coverage percentage.
Readme 449 KiB
Languages
Ruby 71.5%
JavaScript 27.3%
Dockerfile 1.2%