File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 88
99permissions :
1010 contents : read
11-
11+
1212jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Set up Go
17+ uses : actions/setup-go@v5
18+ - name : Check out code
19+ uses : actions/checkout@v4
20+ - name : Check formatting
21+ run : |
22+ unformatted=$(gofmt -l .)
23+ if [ -n "$unformatted" ]; then
24+ echo "The following files are not properly formatted:"
25+ echo "$unformatted"
26+ exit 1
27+ fi
28+ echo "All Go files are properly formatted"
29+
1330 test :
1431 runs-on : ubuntu-latest
1532 strategy :
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import (
1111
1212 "github.com/google/go-cmp/cmp"
1313 "github.com/google/go-cmp/cmp/cmpopts"
14- "github.com/modelcontextprotocol/go-sdk/mcp"
1514 "github.com/modelcontextprotocol/go-sdk/jsonschema"
15+ "github.com/modelcontextprotocol/go-sdk/mcp"
1616)
1717
1818func TestList (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments