@@ -182,6 +182,28 @@ jobs:
182182 if : steps.changes.outputs.end_to_end == 'true' && contains(matrix.needs, 'minio')
183183 uses : ./.github/actions/setup-minio
184184
185+ <<<<<<< HEAD
186+ ||||||| parent of 74844882a2 (Add `zizmor` check to the static checks workflow (#19149))
187+ # 'consul' is the only need that triggers `make tools`, which installs both Consul and ZooKeeper.
188+ # There is no separate 'zookeeper' need, so 'consul' is the correct proxy for "this shard needs ZooKeeper".
189+ - name : Cache ZooKeeper
190+ if : steps.changes.outputs.end_to_end == 'true' && contains(matrix.needs, 'consul')
191+ uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
192+ with :
193+ path : dist/vt-zookeeper-*
194+ key : zookeeper-${{ hashFiles('build.env', 'bootstrap.sh') }}
195+
196+ =======
197+ # 'consul' is the only need that triggers `make tools`, which installs both Consul and ZooKeeper.
198+ # There is no separate 'zookeeper' need, so 'consul' is the correct proxy for "this shard needs ZooKeeper".
199+ - name : Cache ZooKeeper
200+ if : steps.changes.outputs.end_to_end == 'true' && contains(matrix.needs, 'consul')
201+ uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 # zizmor: ignore[cache-poisoning] this workflow publishes no artifacts
202+ with :
203+ path : dist/vt-zookeeper-*
204+ key : zookeeper-${{ hashFiles('build.env', 'bootstrap.sh') }}
205+
206+ >>>>>>> 74844882a2 (Add `zizmor` check to the static checks workflow (#19149))
185207 - name : Install Consul and ZooKeeper
186208 if : steps.changes.outputs.end_to_end == 'true' && contains(matrix.needs, 'consul')
187209 run : make BUILD_PROTOC=0 tools
0 commit comments