Commit Graph

12 Commits

Author SHA1 Message Date
Tianon Gravi f98355a73b Simplify and update `verify-templating.yml`
This makes it print out a diff when there is an error (instead of just a list of files that are wrong), which will make the error more obvious.  I also added `workflow_dispatch` so we can run it manually.
2024-12-13 14:44:24 -08:00
Tianon Gravi 23c6c323e3 Update to actions/checkout@v4 🙃
(this is effectively a functional no-op solving a "problem" that really ought to be solved at a different level within GHA)
2024-07-09 15:36:59 -07:00
Tianon Gravi 893a2c96ba Update to 1.22.0 (GA)
This also restores the accidentally lost `GOARM=7` fix.
2024-02-06 15:26:32 -08:00
Tianon Gravi 8188fe464d Stop (ever) building from source for 1.21+
> After reviewing the details (and how "ouroboros" it would be to solve this "properly", especially in the face of the long-term implications of https://golang.org/issues/54265), my updated proposal is that we effectively revert 11eef5dfbc for 1.21+ -- as of Go 1.21, the _only_ architecture we actually build from source across _all_ our supported variants/distributions is arm32v5 (Debian's `armel`) because Go's published `arm` binaries are explicitly `v6` (see also 40db26d6cc).
>
> The only suggestion of actual arm32v5 users I've managed to find is someone on one of the older Raspberry Pi devices (which are technically armv6) wanting to use a Debian-based image -- as of 1.21, the Alpine images are using the exact same upstream-provided pre-compiled binaries, so suggesting that those users switch to Alpine's arm32v6 images instead is extremely reasonable.
2023-12-19 15:31:30 -08:00
Tianon Gravi 3a0fd1f614 Update GHA YAML with bashbrew example improvements (esp. concurrency:) 2023-12-19 13:30:14 -08:00
Tianon Gravi 020b04e027 Update "munge.sh" (we need to force build on Alpine now and Buster does not exist) 2023-12-19 13:27:48 -08:00
Joe Ferguson 3d3c9360ed Fix 1.20 builds on mips and arm32v5
> packages main (build.go) and building_Go_requires_Go_1_17_13_or_later (notgo117.go)

Also, update GitHub Actions to test force building on Debian so we can avoid this problem in the future.

Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
2022-12-22 17:35:44 -08:00
Tianon Gravi 326acd5eed Use new "bashbrew" composite action 2022-11-16 14:00:15 -08:00
Joe Ferguson 4d2ea0fdbb Switch to "$GITHUB_OUTPUT"; update actions/checkout to v3
- https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands
- https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
2022-10-14 17:21:38 -07:00
Tianon Gravi 01c68e7480 Fix i386 "softfloat" bug
See https://golang.org/issues/44500 for details (tldr, Go 1.16 changes "GO386" from "387" to "softfloat" but the bootstrap compiler isn't 1.16 yet so balks at the changed value).

This also makes our "compilation" much more explicit by explicitly noting the "env" needed to build each bashbrew architecture we support and embedding those directly.

(I've also added "i386" to GitHub Actions, which will double our matrix size, but will hopefully help us catch issues like this in the future.)
2021-02-24 08:44:13 -08:00
Tianon Gravi 5e970060c3 Add initial jq-based templating engine 2020-08-28 15:19:07 -07:00
Tianon Gravi 3d8747231c Add initial GitHub Actions CI 2020-04-28 14:53:49 -07:00