devbox/.forgejo/workflows/ci.yml
shoemoney 9b1165a49a
Some checks are pending
CI / vet-build-test (push) Waiting to run
feat(release): arm64/arm targets + Forgejo release one-shot + CI workflows 📦🤖
- build-release.sh: add linux/arm64 (Raspberry Pi!) + linux/arm targets — the
  curl|sh install on a clean Pi needs a real arm64 asset to download.
- scripts/release.sh: one-shot local release. Cross-compiles, then creates/updates
  the Forgejo release and uploads de-versioned assets (devbox_<os>_<arch>) that
  install.sh fetches directly. No CI runner required.
- .forgejo + .github CI workflows: go vet + build + test -race on push/PR;
  on vX.Y.Z tag, build-release + publish. GitHub's runs on hosted runners today.
- docker-compose: pull the published hub image by default; --build for local source.
2026-06-23 13:31:54 -05:00

20 lines
489 B
YAML

# Forgejo Actions CI — runs once a runner is registered (act_runner with a
# `linux`/`ubuntu-latest` label). Until then it's inert, no harm.
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
vet-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- run: go vet ./...
- run: go build ./...
- run: go test ./... -race