mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
23 lines
516 B
YAML
23 lines
516 B
YAML
---
|
|
name: Rubocop
|
|
on: workflow_call
|
|
jobs:
|
|
rubocop:
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: '3.3'
|
|
- name: Rubocop
|
|
uses: reviewdog/action-rubocop@v2
|
|
with:
|
|
fail_on_error: true
|
|
filter_mode: nofilter
|
|
only_changed: true
|
|
reporter: github-pr-check
|
|
reviewdog_flags: '-fail-level=any'
|