feat(payments): add address allowlist #63
Workflow file for this run
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: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| cairo_tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: foundry-rs/setup-snfoundry@v3 | |
| with: | |
| starknet-foundry-version: "0.45.0" | |
| - uses: software-mansion/setup-scarb@v1 | |
| with: | |
| scarb-version: "2.11.4" | |
| - name: Install cairo-coverage | |
| run: | | |
| curl -L https://raw.githubusercontent.com/software-mansion/cairo-coverage/main/scripts/install.sh | sh | |
| - name: Run test and coverage | |
| run: scarb test -w --coverage | |
| # - uses: codecov/codecov-action@v5 | |
| # with: | |
| # fail_ci_if_error: true | |
| - name: Check formatting | |
| run: scarb fmt -w --check | |
| - name: Build Contracts | |
| run: scarb build |