4175 add request type flag #7829
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
name: rubocop lint | |
on: | |
push: | |
paths-ignore: | |
- "doc/**" | |
- "*.md" | |
- "bin/*" | |
pull_request: | |
paths-ignore: | |
- "doc/**" | |
- "*.md" | |
- "bin/*" | |
jobs: | |
ruby_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: lint | |
run: bundle exec rubocop | |
- name: lint erb files | |
run: bundle exec erblint --lint-all |