-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (37 loc) · 1.03 KB
/
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
name: "Test"
on:
pull_request:
workflow_dispatch:
env:
SEPOLIA_RPC: https://sepolia.drpc.org
MAINNET_RPC: https://cloudflare-eth.com
POLYGON_RPC: https://polygon-rpc.com
OPTIMISM_RPC: https://mainnet.optimism.io
ARBITRUM_RPC: https://arb1.arbitrum.io/rpc
GNOSIS_RPC: https://gnosis.publicnode.com
BASE_RPC: https://base.publicnode.com
PGN_RPC: https://rpc.publicgoods.network
CELO_RPC: https://forno.celo.org
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.1
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install
run: yarn install --frozen-lockfile
- name: Check Format
run: yarn prettier . --check
- name: Test
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test