@@ -117,6 +117,11 @@ jobs:
117
117
else
118
118
echo "api_models_changes_exist=true" >> $GITHUB_ENV
119
119
fi
120
+ if git diff --exit-code --quiet origin/$GITHUB_BASE_REF -- crates/common_enums/; then
121
+ echo "common_enums_changes_exist=false" >> $GITHUB_ENV
122
+ else
123
+ echo "common_enums_changes_exist=true" >> $GITHUB_ENV
124
+ fi
120
125
if git diff --exit-code --quiet origin/$GITHUB_BASE_REF -- crates/common_utils/; then
121
126
echo "common_utils_changes_exist=false" >> $GITHUB_ENV
122
127
else
@@ -162,6 +167,10 @@ jobs:
162
167
if : env.api_models_changes_exist == 'true'
163
168
run : cargo hack check --each-feature --no-dev-deps -p api_models
164
169
170
+ - name : Cargo hack common_enums
171
+ if : env.common_enums_changes_exist == 'true'
172
+ run : cargo hack check --each-feature --no-dev-deps -p common_enums
173
+
165
174
- name : Cargo hack common_utils
166
175
if : env.common_utils_changes_exist == 'true'
167
176
run : cargo hack check --each-feature --no-dev-deps -p common_utils
@@ -280,6 +289,11 @@ jobs:
280
289
else
281
290
echo "api_models_changes_exist=true" >> $GITHUB_ENV
282
291
fi
292
+ if git diff --exit-code --quiet origin/$GITHUB_BASE_REF -- crates/common_enums/; then
293
+ echo "common_enums_changes_exist=false" >> $GITHUB_ENV
294
+ else
295
+ echo "common_enums_changes_exist=true" >> $GITHUB_ENV
296
+ fi
283
297
if git diff --exit-code --quiet origin/$GITHUB_BASE_REF -- crates/common_utils/; then
284
298
echo "common_utils_changes_exist=false" >> $GITHUB_ENV
285
299
else
@@ -325,6 +339,10 @@ jobs:
325
339
if : env.api_models_changes_exist == 'true'
326
340
run : cargo hack check --each-feature --no-dev-deps -p api_models
327
341
342
+ - name : Cargo hack common_enums
343
+ if : env.common_enums_changes_exist == 'true'
344
+ run : cargo hack check --each-feature --no-dev-deps -p common_enums
345
+
328
346
- name : Cargo hack common_utils
329
347
if : env.common_utils_changes_exist == 'true'
330
348
run : cargo hack check --each-feature --no-dev-deps -p common_utils
0 commit comments