Skip to content

Set up IaC for deployments #16

Set up IaC for deployments

Set up IaC for deployments #16

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
run: |
forge test -vvv
id: test