Reverse the order and abort on error so I don't have to wait for a long run if the latest solution has an error.

This commit is contained in:
2024-12-02 14:06:27 +01:00
parent 5f4440aae3
commit f45335ee2c

View File

@@ -17,7 +17,8 @@ jobs:
- uses: https://github.com/fwilhe2/setup-kotlin@main
- name: Solutions
run: |
for script in $(ls *.kts | sort); do
set -e
for script in $(ls *.kts | sort -r); do
echo "Running $script"
kotlin $script
done