Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a26315f commit e426b6eCopy full SHA for e426b6e
.github/workflows/go.yml
@@ -0,0 +1,32 @@
1
+name: Unit Tests
2
+on: [push, pull_request]
3
+
4
+permissions:
5
+ contents: read
6
7
+jobs:
8
+ build:
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ os: [ubuntu-latest, windows-latest, macos-latest]
13
14
+ runs-on: ${{ matrix.os }}
15
16
+ steps:
17
+ - name: Check out code
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Go
21
+ uses: actions/setup-go@v5
22
+ with:
23
+ go-version-file: "go.mod"
24
25
+ - name: Download dependencies
26
+ run: go mod download
27
28
+ - name: Run unit tests
29
+ run: go test -race ./...
30
31
+ - name: Build
32
+ run: go build -v ./cmd/github-mcp-server
0 commit comments