Skip to content

ci: add ci to actions #10

ci: add ci to actions

ci: add ci to actions #10

Workflow file for this run

name: Foundry project
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Initialize submodules
run: |
git submodule sync --recursive
git submodule update --init --recursive
- name: Clean workspace
run: git clean -fdx
- name: List directories for debugging
run: |
echo "Listing lib/omni/contracts/src/Libraries:"
ls -R lib/omni/contracts/src/Libraries/
echo "Listing lib/forge-std:"
ls -R lib/forge-std/
- name: Install Foundry
run: curl -L https://foundry.paradigm.xyz | bash
- name: Verify foundry.toml configuration
run: cat foundry.toml
- name: Build project
run: forge build --sizes