File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ name : Test
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - name : Set up Go
17+ uses : actions/setup-go@v4
18+ with :
19+ go-version : ' 1.23'
20+ cache : true
21+
22+ - name : Install dependencies
23+ run : go mod download
24+
25+ - name : Run tests with coverage
26+ run : go test -coverprofile=coverage.txt -covermode=atomic ./... -p 1 -race -v
27+
28+ - name : Upload coverage to Codecov
29+ uses : codecov/codecov-action@v5
30+ with :
31+ token : ${{ secrets.CODECOV_TOKEN }}
32+ slug : MegaGrindStone/mcp-web-ui
33+
34+ - name : Run golangci-lint
35+ uses : golangci/golangci-lint-action@v3
36+ with :
37+ version : latest
38+
Original file line number Diff line number Diff line change 1+ ignore :
2+ - " cmd"
3+ - " internal/services"
4+ - " static"
5+ - " templates"
You can’t perform that action at this time.
0 commit comments