varabyte / kobweb

A modern framework for full stack web apps in Kotlin, built upon Compose HTML
https://kobweb.varabyte.com
Apache License 2.0
1.53k stars 68 forks source link

Update build.yml to add timeout #519

Closed EchoEllet closed 4 months ago

EchoEllet commented 5 months ago

Sometimes (it happened with me twice) the workflow keep running forever, it can because of a bug, infinite loop or some mistake in the configurations etc...

To avoid the limit issues (it's higher in public/open source projects) and also to not unnecessarily cost GitHub, it's better to add timeout (which I think there should be by default lower and give the option to disable it or make it higher, see this for more info), we might also increase it to 10 if the build & test process take longer