Skip to content

Feat/web app

Feat/web app #10

Workflow file for this run

name: Test Contracts
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
env:
FOUNDRY_PROFILE: ci
defaults:
run:
working-directory: contracts
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
sparse-checkout: contracts
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
env:
FOUNDRY_ENV: ${{ secrets.FOUNDRY_ENV }}
run: |
echo $FOUNDRY_ENV > .env
forge test -vvv
id: test