Release prep #73
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 Check | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
paths: | |
- ".rubocop*.yml" | |
- ".github/workflows/rubocop.yml" | |
- "**/*.rb" | |
pull_request: | |
paths: | |
- ".rubocop*.yml" | |
- ".github/workflows/rubocop.yml" | |
- "**/*.rb" | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "2.7" | |
- name: Install rubocop | |
run: gem install rubocop --no-doc | |
- name: Set-up RuboCop Problem Matcher | |
uses: r7kamura/rubocop-problem-matchers-action@v1 | |
- name: Run rubocop | |
run: rubocop |