feat: add anchor-manifest workflow and fix pre-existing mypy errors #54
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| python-lint: | |
| name: Python Lint & Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Check formatting | |
| run: uv run ruff format --check certify_cli/ | |
| - name: Lint | |
| run: uv run ruff check certify_cli/ | |
| - name: Run Python tests | |
| run: uv run pytest tests/ -v | |
| solidity: | |
| name: Solidity Build & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Build contracts | |
| run: forge build | |
| - name: Run tests | |
| run: forge test -vvv |