-
Notifications
You must be signed in to change notification settings - Fork 17
41 lines (32 loc) · 874 Bytes
/
ci.yaml
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
name: ci
on: [push]
jobs:
tests:
name: Tests with Foundry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Huff
uses: huff-language/huff-toolchain@v2
with:
version: nightly
- name: Install Solidity compiler
uses: pontem-network/get-solc@master
with:
version: v0.8.16
- name: Create env file
run: |
cat << EOF >> .env
export ALCHEMY_KEY=${{ secrets.ALCHEMY_KEY }}
export ALCHEMY_KEY_ARBITRUM=${{ secrets.ALCHEMY_KEY_ARBITRUM }}
EOF
- name: Source env file
run: source .env
- name: Run Tests
run: forge test -vvv