mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
add rubocop linting to gitlab-ci
This commit is contained in:
parent
4dfc01c1a3
commit
42472402c9
6
.gitlab-ci.yml
Normal file
6
.gitlab-ci.yml
Normal file
@ -0,0 +1,6 @@
|
||||
rubocop:
|
||||
stage: linting
|
||||
image: registry.gitlab.com/pipeline-components/rubocop:latest
|
||||
script:
|
||||
- git diff --name-only master --diff-filter AMT | grep \\.rb$ | xargs bundle exec rubocop
|
||||
|
Loading…
x
Reference in New Issue
Block a user