ps-actions-sandbox / KPN-ActionsFundamentals

MIT License
0 stars 1 forks source link

❤️ What was the best feature you learned yesterday? #5

Open github-actions[bot] opened 9 months ago

github-actions[bot] commented 9 months ago

What was the GitHub Actions feature you liked best that you have learned about yesterday the first time? If you want add your hobby to share it with the group. Comment below 👇

gmmcal commented 9 months ago

Writing actions without having to write typescript code

gmic commented 9 months ago

Integrated docs

kasterma commented 9 months ago

The feature I found most hilarious is https://github.com/actions/checkout, just look at the amount of code to perform a checkout!! And it does lead to confusion, b/c it is not a default clone. Surely important things are done by all that code, but this seems very funny to me.

mattiassluis commented 9 months ago

Writing actions without having to write typescript code

@gmmcal TypeScript is going to be the new Groovy!

gmmcal commented 9 months ago

looks like so @mattiassluis

kasterma commented 9 months ago

Lets not dig the same hole with typescript that we did with groovy. It seems easy to migrate the pain we have with jenkins to github actions.

mattiassluis commented 9 months ago

@kasterma although it was intended as a pun I am sure that we have some "features" that need to be scripted to something else. That could be TypeScript to have more "native" GH Action or Bash scripts, or Python scripts. In the end we will still need reusable blocks that have logic. At least we have more choices in how we write them but TypeScript does seem like an obvious candidate.

kasterma commented 9 months ago

No argument there. We should just work on minimizing the action specific stuff b/c of the bad debug experience. Keep things as much as possible easy to run locally (the actionlinter and local runner don't feel like a good enough local substitute to me). Steps in a Makefile for the win!!