chore(cairo): update to scarb 2.11.0 #61
Workflow file for this run
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: Pull Request Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: foundry-rs/setup-snfoundry@v3 | |
with: | |
starknet-foundry-version: "0.38.2" | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.11.0" | |
# TODO: when new coverage tool is ready, uncomment this | |
# - 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 | |
# TODO: when new coverage tool is ready, uncomment this | |
# run: scarb test --coverage | |
run: scarb test | |
# TODO: when new coverage tool is ready, uncomment this | |
# - uses: codecov/codecov-action@v5.3.1 | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# files: coverage/coverage.lcov | |
# fail_ci_if_error: true | |
- name: Check formatting | |
run: | | |
scarb fmt --check |