DEV: Introduce syntax_tree for ruby formatting (#144)

This commit is contained in:
David Taylor
2022-12-29 13:35:06 +01:00
committed by GitHub
parent cbbc23fd5a
commit 4e1a17c40c
35 changed files with 980 additions and 844 deletions
+9
View File
@@ -55,3 +55,12 @@ jobs:
- name: Rubocop
if: ${{ !cancelled() }}
run: bundle exec rubocop .
- name: Syntax Tree
if: ${{ !cancelled() }}
run: |
if test -f .streerc; then
bundle exec stree check Gemfile $(git ls-files '*.rb') $(git ls-files '*.rake')
else
echo "Stree config not detected for this repository. Skipping."
fi