Skip to content

M2/M3: capture installed macOS qcow2 + oras push to ghcr (tahoe:26-ba… #7

M2/M3: capture installed macOS qcow2 + oras push to ghcr (tahoe:26-ba…

M2/M3: capture installed macOS qcow2 + oras push to ghcr (tahoe:26-ba… #7

Workflow file for this run

name: test
on:
push:
branches: ['*']
paths-ignore:
- 'os-image/**'
- 'scripts/**'
pull_request:
paths-ignore:
- 'os-image/**'
- 'scripts/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout cocoon-macos
uses: actions/checkout@v5
- name: Checkout cocoon (dependency)
uses: actions/checkout@v5
with:
repository: cocoonstack/cocoon
path: _cocoon
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Point replace at in-workspace cocoon
run: go mod edit -replace github.com/cocoonstack/cocoon=./_cocoon
- name: Vet
run: go vet ./...
- name: Test
run: go test -race -timeout 120s -count=1 ./...
- name: Build
run: CGO_ENABLED=0 go build -o cocoon-macos .