This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
Update README.md #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run StarkNet compilation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- run: | | |
pip install cairo-lang asynctest pytest && \ | |
for cairo_file in $(find contracts/ -type f -name "*.cairo"); do | |
starknet-compile $cairo_file | |
done && \ | |
pytest -W ignore::DeprecationWarning |