File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
2+ name : " Copilot Setup Steps"
3+
4+ on :
5+ workflow_dispatch :
6+ push :
7+ paths :
8+ - .github/workflows/copilot-setup-steps.yml
9+ pull_request :
10+ paths :
11+ - .github/workflows/copilot-setup-steps.yml
12+
13+ jobs :
14+ copilot-setup-steps :
15+ runs-on : ubuntu-latest
16+
17+ permissions :
18+ contents : read
19+
20+ steps :
21+ - name : Checkout code
22+ uses : actions/checkout@v4
23+
24+ - name : Set up Go
25+ uses : actions/setup-go@v5
26+ with :
27+ go-version-file : go.mod
28+
29+ - name : Download Go dependencies
30+ run : go mod download
31+
32+ - name : Build server
33+ run : go build -v ./cmd/github-mcp-server
34+
35+ - name : Install goimports
36+ run : go install golang.org/x/tools/cmd/goimports@latest
37+
38+ - name : Setup Node.js
39+ uses : actions/setup-node@v4
40+ with :
41+ node-version : ' 22'
42+
43+ - name : Install MCP Inspector
44+ run :
npm install -g @modelcontextprotocol/[email protected] 45+
46+ - name : Verify tools
47+ run : |
48+ echo "Go version: $(go version)"
49+ echo "goimports: $(which goimports)"
50+ echo "MCP Inspector: $(npx @modelcontextprotocol/[email protected] --version)" 51+ echo "Server binary: $(ls -la github-mcp-server)"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments