Check whether your contract interfaces match the actual contract implementations. Don't let them go out of sync.
It assumes interfaces Assumes convention that if contract is called Contract.cairo
then interface is IContract.cairo
.
See the Empiric repo for a real world example.
input | required | description |
---|---|---|
cairo-path |
yes | Path to Cairo files, used to search for files to check and for relative imports when compiling. |
In the following example our Cairo files are in the contracts
folder.
- uses: 42labs/starknet-interface-checker-gha@main
with:
cairo-path: 'contracts'