‹ BackHN Continuity

Thread

Scaling Golang CI by Replacing actions/setup-go

77 points · 26 comments · peterldowns

  1. y0ssar1an · · focus · HN ↗
    how does this compare to WillAbides/setup-go-faster?

    <a href="https:&#x2F;&#x2F;github.com&#x2F;WillAbides&#x2F;setup-go-faster" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WillAbides&#x2F;setup-go-faster

    1. lukasschwab · · focus · HN ↗
      They target different parts of actions&#x2F;setup-go for optimization:

      - WillAbides&#x2F;setup-go-faster speeds up the Go toolchain setup (literally installing Go)

      - cloudx-io&#x2F;setup-go uses the slower actions&#x2F;setup-go toolchain setup, but changes cache strategy so your `go test` and `go build` steps do less work

      Those strategies are compatible. I hadn&#x27;t heard of setup-go-faster — thanks for putting me on to it.

      If you&#x27;re deciding between one or the other, it&#x27;ll probably come down to which inefficiency predominates in your codebase (i.e. how many tests you have, how quickly they run, and how much real churn there is in your test package build graph).

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.