News for hackers. Stuff that matters.
Re:GitHub Actions Are a Problem by remram on Sunday November 12, 2023 @10:56AM (#38241249)
The problem is that GitHub Action offers a large ecosystem of reusable actions that you can't easily call from a script.
Re:GitHub Actions Are a Problem by simonw on Sunday November 12, 2023 @11:06AM (#38241354)
I mainly ignore those - I stick to the actions that install things (setup-python) and run scripts.
Re:GitHub Actions Are a Problem by remram on Sunday November 12, 2023 @11:09AM (#38241398)
You can get around the setup ones by using Docker images (e.g. run in python:3.11 rather than using setup-python).
Re:GitHub Actions Are a Problem by ddorian43 on Sunday November 12, 2023 @02:55PM (#38243538)
Can you provide a link to an example?
Re:GitHub Actions Are a Problem by remram on Sunday November 12, 2023 @09:22PM (#38246175)
The docs have examples: https://docs.github.com/en/actions/using-jobs/running-jobs-i...

Basically you set `container.image`.

Re:GitHub Actions Are a Problem by xeromal on Sunday November 12, 2023 @11:02AM (#38241320)
You, you sacrifice that convenience for something purely in shell that is more portable.
Re:GitHub Actions Are a Problem by remram on Sunday November 12, 2023 @11:10AM (#38241404)
you you?
Re:GitHub Actions Are a Problem by xeromal on Sunday November 12, 2023 @11:44AM (#38241766)
It's like a yo-yo but faster
Re:GitHub Actions Are a Problem by philipswood on Sunday November 12, 2023 @01:47PM (#38242971)
Like yo-yo, but slower due to the extra W.
Re:GitHub Actions Are a Problem by slenk on Sunday November 12, 2023 @05:44PM (#38244891)
You should check out: https://github.com/nektos/act

Works pretty well for the actions I have used it on.

Re:GitHub Actions Are a Problem by jasonm23 on Sunday November 12, 2023 @10:24PM (#38246526)
That's not a problem. You just don't use them if you don't want to suffer vendor lock.
Re:GitHub Actions Are a Problem by rewmie on Monday November 13, 2023 @02:42AM (#38247918)
> That's not a problem. You just don't use them if you don't want to suffer vendor lock.

How do you use GitHub Actions without using actions such as actions/checkout, actions/upload-artifact, actions/download-artifact?