Skip to content

feat(web): ui / states improvements #196

feat(web): ui / states improvements

feat(web): ui / states improvements #196

Workflow file for this run

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