File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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/
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments