File tree Expand file tree Collapse file tree 1 file changed +70
-0
lines changed
Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Workspace Components (jacs-mcp, jacsgo)
2+
3+ on :
4+ push :
5+ branches : ["master"]
6+ paths :
7+ - " jacs-mcp/**"
8+ - " jacsgo/**"
9+ - " jacs/**"
10+ - " binding-core/**"
11+ - " Cargo.toml"
12+ - " Cargo.lock"
13+ - " .github/workflows/components.yml"
14+ pull_request :
15+ branches : ["master"]
16+ paths :
17+ - " jacs-mcp/**"
18+ - " jacsgo/**"
19+ - " jacs/**"
20+ - " binding-core/**"
21+ - " Cargo.toml"
22+ - " Cargo.lock"
23+ - " .github/workflows/components.yml"
24+ workflow_dispatch :
25+
26+ env :
27+ CARGO_TERM_COLOR : always
28+
29+ jobs :
30+ test-jacs-mcp :
31+ name : Test jacs-mcp
32+ runs-on : ubuntu-latest
33+
34+ steps :
35+ - name : Checkout code
36+ uses : actions/checkout@v4
37+
38+ - name : Install Rust toolchain
39+ uses : dtolnay/rust-toolchain@stable
40+ with :
41+ toolchain : " 1.93"
42+
43+ - name : Run jacs-mcp tests
44+ run : cargo test -p jacs-mcp --verbose
45+
46+ test-jacsgo :
47+ name : Test jacsgo
48+ runs-on : ubuntu-latest
49+
50+ steps :
51+ - name : Checkout code
52+ uses : actions/checkout@v4
53+
54+ - name : Install Rust toolchain
55+ uses : dtolnay/rust-toolchain@stable
56+ with :
57+ toolchain : " 1.93"
58+
59+ - name : Setup Go
60+ uses : actions/setup-go@v5
61+ with :
62+ go-version : " 1.21"
63+
64+ - name : Run jacsgo tests
65+ working-directory : jacsgo
66+ run : GOCACHE=/tmp/jacs-go-cache make test
67+
68+ - name : Build jacsgo examples
69+ working-directory : jacsgo
70+ run : GOCACHE=/tmp/jacs-go-cache make examples
You can’t perform that action at this time.
0 commit comments