https://kotlinlang.org logo
#github-workflows-kt
Title
# github-workflows-kt
v

Vampire

01/23/2023, 4:34 PM
Anyone interested in an excessive use of this nice lib? I finished my actions migration: https://github.com/Vampire/setup-wsl/blob/4eea7c92d6c56a39bfcebcdcb93be63388497f59/.github/workflows/test.main.kts 🙂 (Be careful, the GitHub code highlighting is broken from line 385 on :-D)
v

vladimirsitnikov

01/23/2023, 4:59 PM
Just wondering: have you thought of using a random-based CI matrix to reduce CI duration? For instance, see https://github.com/vlsi/github-actions-random-matrix
v

Vampire

01/23/2023, 5:04 PM
No I didn't. But also I don't do that much development on it, so I don't need too fast CI and prefer to have everything tested. I even run the full cycle each night to see when some distribution or GitHub update again breaks it to be able to fix it asap, hopefully before a user can complain. 🙂 Actually, I'm personally not too much a fan of random based tests of any kind. I want my tests consistent and reproducible. 🙂
p

Piotr Krzemiński

01/24/2023, 7:17 AM
wow, it does look complex! but I guess the complexity comes from the domain, not using the library. I like how you created various helpers like
verifyFailure
or
runAfterSuccess
v

Vampire

01/24/2023, 9:32 AM
Feel free to add my action as deterring example to the list in the docs if you like. 🙂
p

Piotr Krzemiński

01/24/2023, 9:37 AM
quite a bit of hesitation here 😄 but I’ll add it! every customer is important to me ❤️‍🔥
v

Vampire

01/24/2023, 9:38 AM
If you prefer to conceal it, you don't have to. 😄
2 Views