Skip to content

Commit

Permalink
add ghaction
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Dec 15, 2023
1 parent 5a24559 commit 227a738
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Rubocop

on: [push, pull_request]

jobs:
rubocop:
runs-on: ubuntu-20.04

steps:
# Checkout the repo
- uses: actions/checkout@v2

# Install Ruby and run bundler
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true

- name: 'coll-health-obj-analysis'
run: cd coll-health-obj-analysis

# Run the Rubocop linter checks
- name: 'Run Rubocop'
run: bin/rubocop

- name: 'coll-health'
run: 'cd ../coll-health'

# Run the Rubocop linter checks
- name: 'Run Rubocop'
run: bin/rubocop

- name: 'consistency-driver'
run: 'cd ../consistency-driver'

# Run the Rubocop linter checks
- name: 'Run Rubocop'
run: bin/rubocop

0 comments on commit 227a738

Please sign in to comment.