logoalt Hacker News

nerdypeppertoday at 2:58 PM1 replyview on HN

ultimately, folks need to stop writing massive YAML files to define their builds. CI should schedule jobs, your build system should define them. my workflow files look like this:

      steps:
          name: Do the thing
           run: nix build .#
at any point, if my CI is down or i need to switch or i need to run builds locally, i can do so trivially.

Replies

Norfairtoday at 3:01 PM

NixCI does this but with a built-in cache ;) https://nix-ci.com/comparison/github-actions