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:
Logiar 2024-12-02 14:06:27 +01:00
parent 5f4440aae3
commit f45335ee2c
Signed by: Logiar
SSH Key Fingerprint: SHA256:tq77C31em1ZG4oELIHC3k62wq5UzPSXmhqH8g62whIY

View File

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