Skip to content

Commit 77b26fe

Browse files
committedJul 29, 2022
Initial commit

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+2935
-0
lines changed
 

‎.env.example

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
2+
ROPSTEN_URL=https://eth-ropsten.alchemyapi.io/v2/<YOUR ALCHEMY KEY>
3+
PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1

‎.github/workflows/ci.yaml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
tests:
7+
name: Tests with Foundry
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
submodules: recursive
14+
15+
- name: Install Foundry
16+
uses: foundry-rs/foundry-toolchain@v1
17+
with:
18+
version: nightly
19+
20+
- name: Install Huff
21+
uses: huff-language/huff-toolchain@v2
22+
with:
23+
version: nightly
24+
25+
- name: Run Tests
26+
run: forge test -vvv
27+
28+
scripts:
29+
strategy:
30+
fail-fast: true
31+
name: Run Scripts
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v3
35+
with:
36+
submodules: recursive
37+
38+
- name: Install Foundry
39+
uses: foundry-rs/foundry-toolchain@v1
40+
with:
41+
version: nightly
42+
43+
- name: Install Huff
44+
uses: huff-language/huff-toolchain@v2
45+
with:
46+
version: nightly
47+
48+
- name: Run Forge build
49+
run: |
50+
forge --version
51+
forge build --sizes
52+
id: build
53+
continue-on-error: true
54+
55+
- name: Run scripts
56+
run: |
57+
ls -lsa
58+
ls script/
59+
for file in script/*; do
60+
forge script $file -vvvv
61+
done

0 commit comments

Comments
 (0)
Please sign in to comment.