Skip to content

feat: add Cloudflare Workers AI support to Zenith agent configuration #85

feat: add Cloudflare Workers AI support to Zenith agent configuration

feat: add Cloudflare Workers AI support to Zenith agent configuration #85

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: "1.25"
- name: Run tests
run: go test -race -count=1 ./...
build:
name: Build (${{ matrix.goos }}/${{ matrix.goarch }})
runs-on: ubuntu-latest
strategy:
matrix:
include:
- goos: linux
goarch: amd64
- goos: linux
goarch: arm64
- goos: darwin
goarch: amd64
- goos: darwin
goarch: arm64
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: "1.25"
- name: Build localharness
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: "0"
run: |
go build -trimpath -ldflags="-s -w" \
-o bin/localharness-${GOOS}-${GOARCH} \
./cmd/localharness
- name: Build testclient
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: "0"
run: |
go build -trimpath -ldflags="-s -w" \
-o bin/testclient-${GOOS}-${GOARCH} \
./cmd/testclient
- name: Upload build artifacts
uses: actions/upload-artifact@v5
with:
name: binaries-${{ matrix.goos }}-${{ matrix.goarch }}
path: bin/
retention-days: 7