Skip to content

This GitHub Action let's you check whether your (StarkNet) contract interfaces match the actual contracts.

Notifications You must be signed in to change notification settings

42labs/starknet-interface-checker-gha

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Starknet Interface Checker

Check whether your contract interfaces match the actual contract implementations. Don't let them go out of sync.

Usage

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.

Inputs

input required description
cairo-path yes Path to Cairo files, used to search for files to check and for relative imports when compiling.

Example

In the following example our Cairo files are in the contracts folder.

- uses: 42labs/starknet-interface-checker-gha@main
  with:
    cairo-path: 'contracts'

About

This GitHub Action let's you check whether your (StarkNet) contract interfaces match the actual contracts.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages