Merge #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://github.com/tk0miya/action-erblint/blob/main/README.md#example-usage | |
name: Reviewdog | |
on: [pull_request] | |
permissions: | |
checks: write | |
jobs: | |
rubocop: | |
name: Rubocop | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_ONLY: linters | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby and run bundle install | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: rubocop | |
uses: reviewdog/action-rubocop@2c8048e3169487eccc1eed812daaa6e5275a809f | |
with: | |
use_bundler: true | |
reporter: github-pr-check | |
skip_install: true | |
erb-lint: | |
name: ERB Lint runner | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_ONLY: linters | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby and run bundle install | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: erb-lint | |
uses: tk0miya/action-erblint@667687e73b44e7b7a710a1204b180f49f80ebb5e | |
with: | |
use_bundler: true | |
reporter: github-pr-check # default |