News for hackers. Stuff that matters.
Re:Use GitHub actions at your own risk by dherman on Friday December 20, 2019 @01:49PM (#21846466)
I’m excited about Actions generally, so I’m glad to hear your team is aware of the challenges of building a reliable ecosystem of third party dependencies by reference to repos.

Still, recommending git SHAs has real ergonomic and maintainability issues, and while it’s more defensive it doesn’t prevent left-pad style broken builds due to disappearing content.

And at the same time, GitHub is investing heavily in package management infrastructure. I don’t say this lightly because designing good dependency management systems is much more subtle and difficult than people typically recognize, but from where I sit this appears to be fundamentally a dependency management concern. It seems a shame not to try to put GitHub Package Registry to good work here. Is that something potentially on the horizon?

Re:Use GitHub actions at your own risk by hn_throwaway_99 on Friday December 20, 2019 @02:45PM (#21846832)
This is an excellent point, and should solve the issue I put below about builds taking forever when pulling in a slow-building action.

If I'm using a marketplace action in my workflow, I want "foo/[email protected]" to be treated like a binary package dependency, not a build from sourcecode.

Re:Use GitHub actions at your own risk by miskander on Friday December 20, 2019 @02:56PM (#21846909)
All great points and I think you're onto something with the idea of using GitHub Packages. Definitely something we're considering, stay tuned.