Skip to content

Commit 211ab5f

Browse files
authored
Merge pull request #3 from hpmaxi/feat/deploy-multi-chain
Multichain deployment
2 parents 6ca349a + e25f11b commit 211ab5f

29 files changed

+7691
-108
lines changed

.github/workflows/test.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
env:
9+
FOUNDRY_PROFILE: ci
10+
11+
jobs:
12+
check:
13+
strategy:
14+
fail-fast: true
15+
16+
name: Foundry project
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
submodules: recursive
22+
23+
- name: Install Foundry
24+
uses: foundry-rs/foundry-toolchain@v1
25+
with:
26+
version: nightly
27+
28+
- name: Show Forge version
29+
run: |
30+
forge --version
31+
32+
- name: Run Forge fmt
33+
run: |
34+
forge fmt --check
35+
id: fmt
36+
37+
- name: Run Forge build
38+
run: |
39+
forge build --sizes
40+
id: build
41+
42+
- name: Run Forge tests
43+
run: |
44+
forge test -vvv
45+
id: test

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
/target
2+
wallets/
3+
.env
4+
lib/
5+
node_modules
6+
artifacts
7+
cache

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "core/src/contracts/lib/forge-std"]
2+
path = core/src/contracts/lib/forge-std
3+
url = https://github.com/foundry-rs/forge-std
4+
[submodule "lib/forge-std"]
5+
path = lib/forge-std
6+
url = https://github.com/foundry-rs/forge-std
7+
[submodule "core/src/contracts/lib/openzeppelin-contracts"]
8+
path = core/src/contracts/lib/openzeppelin-contracts
9+
url = https://github.com/openzeppelin/openzeppelin-contracts

0 commit comments

Comments
 (0)