feat(web): bridge UI improvements #203
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: | |
build-starknet-contracts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "0.6.0" | |
- run: scarb build | |
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/contracts/ethereum/ | |
id: build | |
- name: Run Forge tests | |
run: | | |
forge test -vvv --root apps/blockchain/contracts/ethereum/ | |
id: test | |