mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
run rubocop view reviewdog
This commit is contained in:
16
.github/workflows/linters.yml
vendored
Normal file
16
.github/workflows/linters.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Linters
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
rubocop:
|
||||
name: runner / rubocop
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v1
|
||||
- uses: ruby/setup-ruby@v1
|
||||
- name: rubocop
|
||||
uses: reviewdog/action-rubocop@v2
|
||||
with:
|
||||
reporter: github-pr-check
|
||||
level: error
|
||||
fail_on_error: true
|
||||
Reference in New Issue
Block a user