Skip to content

Commit 17ef15a

Browse files
fix(ci): checkout zentinel repo for agent-protocol path dependency
The agent-protocol crate is referenced as a path dependency pointing to ../zentinel/crates/agent-protocol. CI and release workflows need the zentinel repo checked out at the correct relative path.
1 parent 057d026 commit 17ef15a

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21+
- name: Checkout zentinel (for agent-protocol path dep)
22+
uses: actions/checkout@v4
23+
with:
24+
repository: zentinelproxy/zentinel
25+
path: ../zentinel
26+
2127
- name: Install Rust
2228
uses: dtolnay/rust-toolchain@stable
2329

@@ -46,6 +52,12 @@ jobs:
4652
steps:
4753
- uses: actions/checkout@v4
4854

55+
- name: Checkout zentinel (for agent-protocol path dep)
56+
uses: actions/checkout@v4
57+
with:
58+
repository: zentinelproxy/zentinel
59+
path: ../zentinel
60+
4961
- name: Install Rust
5062
uses: dtolnay/rust-toolchain@stable
5163

@@ -88,6 +100,12 @@ jobs:
88100
steps:
89101
- uses: actions/checkout@v4
90102

103+
- name: Checkout zentinel (for agent-protocol path dep)
104+
uses: actions/checkout@v4
105+
with:
106+
repository: zentinelproxy/zentinel
107+
path: ../zentinel
108+
91109
- name: Install Rust
92110
uses: dtolnay/rust-toolchain@stable
93111
with:

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
with:
4141
path: agent
4242

43+
- name: Checkout zentinel (for agent-protocol path dep)
44+
uses: actions/checkout@v4
45+
with:
46+
repository: zentinelproxy/zentinel
47+
path: zentinel
48+
4349
- name: Checkout SDK
4450
uses: actions/checkout@v4
4551
with:

0 commit comments

Comments
 (0)