summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-06-03 00:43:50 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-07-31 03:13:49 -0600
commit7f768e1ab12e8ab22590ef03cf2c518cd84ef104 (patch)
treedb7ab68305db063ca3e6234951d88ee56348e29f /.github/workflows
parent19440d76157b53e2c8b2ad4632d05db3e9fd39bd (diff)
resolves #2557 enable RuboCop to enforce a consistent code style and perform static analysis
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fdbf4969..da88a4e0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -90,6 +90,9 @@ jobs:
bundle --jobs 3 --retry 3
- name: Run tests
run: bundle exec ruby -w $(bundle exec ruby -e 'print File.join Gem.bindir, %q(rake)') test:all
+ - name: Run linter
+ if: matrix.primary
+ run: bundle exec rake lint
- name: Check default stylesheet
if: matrix.primary
run: |