Skip to content

Commit 04b2b85

Browse files
committed
feat: run on all subfolders, closes #1
1 parent 70f1750 commit 04b2b85

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ jobs:
55
runs-on: ubuntu-24.04
66
steps:
77
- uses: actions/checkout@v4
8+
89
- uses: ArkScript-lang/action-format@master
910
with:
1011
folder: example/format
12+
1113
- uses: ArkScript-lang/action-format@master
1214
with:
1315
folder: example/format/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ inputs:
1111
required: true
1212
```
1313

14-
- **folder**: path to ArkScript files ; will be scanned for `*.ark` files (not recursively)
14+
- **folder**: path to ArkScript files ; will be scanned for `*.ark` files
1515
- eg: `example/`, `example/format`
1616

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
else
3232
echo "✅ $(basename $file)"
3333
fi
34-
done < <(find "${path%/}" -type f -name "*.ark" -maxdepth 1 -print0)
34+
done < <(find "${path%/}" -type f -name "*.ark" -print0)
3535
3636
echo "$failures file(s) need to be formatted"
3737
[ $failures -gt 0 ] && exit 1 || exit 0

example/not_included.ark

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)