feat(trace): add latest_or_penultimate function #169
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: 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.41.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/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: packages/utils/coverage/coverage.lcov | |
fail_ci_if_error: true | |
- name: Check formatting | |
run: | | |
scarb fmt -w --check |