How to increase CI pipeline speed with bazel build and test?

My CI pipeline has to build and test scene using bazelwhen the pipeline works, bazel do a complete rebuild for to build and test Everytime. I want to increase the speed of the pipeline, is there any idea?

I think so bazel has a few options to set a different output directory for to build and testthen to build and test step does not affect each other, so it is not necessary to completely rebuild then. So, are there options to do it?