Skip to content

One build path: extract the cross-compile into a shared action (#8) #22

One build path: extract the cross-compile into a shared action (#8)

One build path: extract the cross-compile into a shared action (#8) #22

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
# Bounded, so a step that hangs fails here rather than sitting until the
# runner's own timeout hours later.
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Set up Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version-file: go.mod
# Built first: a compile error should fail before a test suite reaches the
# same conclusion more slowly.
#
# The same action Release uses, so a pull request builds exactly what a
# release builds -- all six targets. This used to run scripts/cli_build.sh,
# which produces one host binary: a break in windows/arm64 or darwin/arm64
# surfaced first at release time.
- name: Build
uses: ./.github/actions/build
- name: Test
uses: ./.github/actions/test