ci: fix 'make rpc' check

'git describe' may not work in CI because of Git shallow clones.
We got false negative of this check:
https://github.com/lightninglabs/loop/actions/runs/14556035205/job/40959214856
"fatal: No names found, cannot describe anything."
This commit is contained in:
Boris Nagaev 2025-04-23 14:28:45 -03:00
parent 301c4756b4
commit f2715e39eb
No known key found for this signature in database

View file

@ -76,7 +76,7 @@ rpc:
rpc-check: rpc
@$(call print, "Verifying protos.")
if test -n "$$(git describe --dirty | grep dirty)"; then echo "Protos not properly formatted or not compiled with correct version!"; git status; git diff; exit 1; fi
if test -n "$$(git status --porcelain)"; then echo "Protos not properly formatted or not compiled with correct version!"; git status; git diff; exit 1; fi
rpc-js-compile:
@$(call print, "Compiling JSON/WASM stubs.")