File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 17
17
18
18
STYLISH_HASKELL_VERSION : " 0.14.4.0"
19
19
20
+ STYLISH_HASKELL_PATHS : >
21
+ cardano-testnet
22
+ cardano-git-rev
23
+ cardano-api
24
+ cardano-node
25
+ cardano-client-demo
26
+ cardano-node-chairman
27
+ cardano-tracer
28
+ trace-resources
29
+ cardano-node-capi
30
+ trace-dispatcher
31
+ trace-forward
32
+ cardano-cli
33
+ cardano-submit-api
34
+
20
35
steps :
21
36
- name : Install Haskell
22
37
uses : input-output-hk/setup-haskell@v1
@@ -101,7 +116,7 @@ jobs:
101
116
git add .
102
117
git stash
103
118
104
- for x in $(git ls-tree --full-tree --name-only -r HEAD); do
119
+ for x in $(git ls-tree --full-tree --name-only -r HEAD ${{ env.STYLISH_HASKELL_PATHS }} ); do
105
120
if [ "${x##*.}" == "hs" ]; then
106
121
stylish-haskell -i $x
107
122
fi
@@ -114,7 +129,7 @@ jobs:
114
129
git add .
115
130
git stash
116
131
git fetch origin master --unshallow
117
- for x in $(git diff --name-only HEAD origin/master); do
132
+ for x in $(git diff --name-only HEAD origin/master ${{ env.STYLISH_HASKELL_PATHS }} ); do
118
133
if [ "${x##*.}" == "hs" ]; then
119
134
stylish-haskell -i $x
120
135
fi
You can’t perform that action at this time.
0 commit comments