project overview #24
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 | |
on: [push, pull_request] | |
jobs: | |
rubocop: | |
runs-on: ubuntu-20.04 | |
steps: | |
# Checkout the repo | |
- uses: actions/checkout@v3 | |
# Install Ruby and run bundler | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
working-directory: coll-health-obj-analysis | |
# Run the Rubocop linter checks | |
- name: 'Run Rubocop' | |
run: bundle exec rubocop | |
working-directory: coll-health-obj-analysis | |
# Install Ruby and run bundler | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
working-directory: coll-health | |
# Run the Rubocop linter checks | |
- name: 'Run Rubocop' | |
run: bundle exec rubocop | |
working-directory: coll-health | |
# Install Ruby and run bundler | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
working-directory: consistency-driver | |
# Run the Rubocop linter checks | |
- name: 'Run Rubocop' | |
run: bundle exec rubocop | |
working-directory: consistency-driver | |