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.
2019-11-01 18:37:30 +01:00
2019-10-28 20:55:51 -04:00
2019-11-01 18:37:30 +01:00
2019-10-28 20:55:51 -04:00
2019-11-01 18:37:30 +01:00
2019-11-01 18:37:30 +01:00
2019-09-02 21:28:34 -04:00
2019-09-02 22:31:27 -04:00
2019-11-01 18:37:30 +01:00
2019-09-02 21:28:34 -04:00
2019-10-28 20:59:00 -04:00

Rubocop Tests Version Number All Contributors

Rubocop Linter Action

GitHub Action to run Rubocop against your code and create annotations in the UI.

NOTE: due to the GitHub Check Runs API, we can only return 50 annotations per run. See here for more info.

Usage

Add the following to your GitHub action workflow:

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

Example Workflow

name: Rubocop

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Rubocop Linter
      uses: andrewmcodes/rubocop-linter-action@v1.0.0
      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.

Contributors

Thanks goes to these wonderful people (emoji key):

Andrew Mason
Andrew Mason

🚇 👀 📖 💻
Miguel Savignano
Miguel Savignano

🚇 ⚠️ 💻
Dan McGregor
Dan McGregor

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

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