Skip to content

feat: MCP server mode (#15) #73

feat: MCP server mode (#15)

feat: MCP server mode (#15) #73

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: gofmt
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "These files are not gofmt-clean:"
echo "$unformatted"
exit 1
fi
- name: go vet
run: go vet ./...
# ubuntu-latest ships google-chrome-stable, so the live-Chrome integration
# test runs there; on macOS (no Chrome) it skips itself gracefully.
- name: Test
run: go test -race ./...
- name: Build
run: go build ./...