Skip to content

feat(execution)!: add fixed compute stdlib (#46) #93

feat(execution)!: add fixed compute stdlib (#46)

feat(execution)!: add fixed compute stdlib (#46) #93

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
permissions:
contents: read
env:
# Never auto-download a Go toolchain other than the mise-pinned one
# (mise [env] is not carried by the action's shims, so set it on the job).
GOTOOLCHAIN: local
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: Setup mise
uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0
with:
version: 2026.6.14
cache: true
# Installs every tool from mise.toml honoring mise.lock (locked → fail
# closed), including moon, and prepends the shim dir to PATH.
- name: Resolve uv cache directory
id: uv-cache
run: echo "dir=$(uv cache dir)" >> "$GITHUB_OUTPUT"
- name: Cache Go modules
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-mod-${{ hashFiles('go.sum') }}
restore-keys: |
${{ runner.os }}-go-mod-
- name: Cache Go build artifacts
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
path: ~/.cache/go-build
key: ${{ runner.os }}-go-build-${{ hashFiles('mise.lock', 'go.sum') }}-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-go-build-${{ hashFiles('mise.lock', 'go.sum') }}-
${{ runner.os }}-go-build-
- name: Cache golangci-lint
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
path: ~/.cache/golangci-lint
key: ${{ runner.os }}-golangci-lint-${{ hashFiles('mise.lock', '.golangci.yml', 'go.sum') }}-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-golangci-lint-${{ hashFiles('mise.lock', '.golangci.yml', 'go.sum') }}-
${{ runner.os }}-golangci-lint-
- name: Cache uv downloads
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
with:
path: ${{ steps.uv-cache.outputs.dir }}
key: ${{ runner.os }}-uv-docs-${{ hashFiles('docs/uv.lock') }}
restore-keys: |
${{ runner.os }}-uv-docs-
# Single CI gate. `root:check` fans out to format, lint, build, the MCP
# transport smoke test (root:mcp-smoke), the race-detector suite
# (root:race), and the docs build.
- name: Run Moon CI (root:check — includes MCP smoke and race)
run: moon ci --summary minimal