Skip to content

add ci build job

add ci build job #1

Workflow file for this run

name: Unit Tests
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
strategy:
fail-fast: false
os: [ubuntu-latest, windows-latest, macos-latest]

Check failure on line 11 in .github/workflows/go.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/go.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Download dependencies
run: go mod download
- name: Run unit and integration tests
run: go test -race ./...
- name: Build
run: go build -v ./cmd/github-mcp-server