This is a good reason for keeping your build steps in scripts or a Makefile rather than jumping head first into the ecosystem.
I think unless you’ve been burned by having to move CI provider before it’s easy to lean in. I had to change from Travis many years ago because of pricing changes.