-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (35 loc) · 949 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Foundry project
on:
push:
branches:
- main
- idea404/updated-syntax
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:"
ls -R lib/omni
echo "Listing lib/forge-std:"
ls -R lib/forge-std
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Verify foundry.toml configuration
run: cat foundry.toml
- name: Verify forge installation
run: which forge
- name: Build project
run: forge build --sizes