fix(api): mongodb query to return the total count of bridged tokens #251
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: Contracts | |
on: | |
push: | |
branches: [main, dev] | |
paths: | |
- "apps/blockchain/**" | |
pull_request: | |
branches: [main, dev] | |
workflow_dispatch: | |
env: | |
SCARB_VERSION: v0.6.0 | |
jobs: | |
test-starknet-contracts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
tool-versions: apps/blockchain/starknet/.tool-versions | |
- uses: foundry-rs/setup-snfoundry@v3 | |
with: | |
tool-versions: apps/blockchain/starknet/.tool-versions | |
- run: scarb build | |
working-directory: apps/blockchain/starknet | |
- run: snforge test | |
working-directory: apps/blockchain/starknet | |
test-ethereum-contracts: | |
strategy: | |
fail-fast: true | |
name: Foundry testing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Forge build | |
run: | | |
forge --version | |
forge build --sizes --root apps/blockchain/ethereum/ | |
id: build | |
- name: Run Forge tests | |
run: | | |
forge test -vvv --root apps/blockchain/ethereum/ | |
id: test | |