Skip to content

refine validation logic #26

refine validation logic

refine validation logic #26

Workflow file for this run

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
# Run the Rubocop linter checks
- name: 'Validate JSON schemas'
run: bundle exec ruby sample/ci_validate.rb
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