Skip to content

refactor: move MCP package-level vars to Deps struct, add comprehensi… #63

refactor: move MCP package-level vars to Deps struct, add comprehensi…

refactor: move MCP package-level vars to Deps struct, add comprehensi… #63

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Run tests
run: go test -short -race ./...
vet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Go vet
run: go vet ./...
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Build binary
run: go build -o opentrace ./cmd/opentrace
- name: Verify version subcommand
run: ./opentrace version