-
Notifications
You must be signed in to change notification settings - Fork 131
55 lines (45 loc) · 1.45 KB
/
helpers.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
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Helpers tests
on:
push:
branches:
- dev
pull_request:
branches:
- dev
env:
CARGO_TERM_COLOR: always
RPC_MAINNET: ${{ secrets.RPC_MAINNET }}
RPC_OPTIMISM: ${{ secrets.RPC_OPTIMISM }}
RPC_AVALANCHE: ${{ secrets.RPC_AVALANCHE }}
RPC_POLYGON: ${{ secrets.RPC_POLYGON }}
RPC_ARBITRUM: ${{ secrets.RPC_ARBITRUM }}
RPC_FANTOM: ${{ secrets.RPC_FANTOM }}
RPC_HARMONY: ${{ secrets.RPC_HARMONY }}
RPC_METIS: ${{ secrets.RPC_METIS }}
RPC_BASE: ${{ secrets.RPC_BASE }}
RPC_BNB: ${{ secrets.RPC_BNB }}
RPC_SEPOLIA: ${{ secrets.RPC_SEPOLIA }}
RPC_GNOSIS: ${{ secrets.RPC_GNOSIS }}
RPC_SCROLL: ${{ secrets.RPC_SCROLL }}
RPC_ZKEVM: ${{ secrets.RPC_ZKEVM }}
jobs:
test:
runs-on: ubuntu-22.04-github-hosted-16core
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-02-06
- name: Build forge binary
run: cargo build --release --bin forge
- name: Clone aave helpers
run: git clone [email protected]:bgd-labs/aave-helpers.git --depth=1 -b feat/zksync
- name: Run tests using built binary
run: |
cd aave-helpers
../target/release/forge test --zksync