File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- name : Lint Code
1
+ name : Check Lint
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change @@ -19,9 +19,12 @@ setup:
19
19
@echo " Checking for git-lfs..."
20
20
@which git-lfs > /dev/null || (echo " Installing git-lfs..." && brew install git-lfs)
21
21
@echo " git-lfs is installed."
22
- @echo " Checking for trash..."
23
- @which trash > /dev/null || (echo " Installing trash..." && brew install trash)
24
- @echo " trash is installed."
22
+ @if [ " $$ (uname)" = " Darwin" ]; then \
23
+ which trash > /dev/null || (echo " Installing trash..." && brew install trash); \
24
+ echo " trash is installed." ; \
25
+ else \
26
+ echo " Skipping trash installation (not macOS)." ; \
27
+ fi
25
28
@echo " Checking for swift-format..."
26
29
@which swift-format > /dev/null || (echo " Installing swift-format..." && brew install swift-format)
27
30
@echo " swift-format is installed."
You can’t perform that action at this time.
0 commit comments