-
Notifications
You must be signed in to change notification settings - Fork 13
47 lines (38 loc) · 930 Bytes
/
ci.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
41
42
43
44
45
46
47
name: CI
on:
push:
branches:
- master
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
run-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout suave-geth repo
uses: actions/checkout@v4
with:
repository: flashbots/suave-geth
path: suave-geth
persist-credentials: false
fetch-depth: 0
- name: Build suave
run: |
cd suave-geth
make suave
- name: Include the binary on $PATH
run: |
echo "$(pwd)/suave-geth/build/bin" >> $GITHUB_PATH
- name: Run suave
run: |
./suave-geth/build/bin/suave --suave.dev &
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install deps
run: forge install
- name: Run tests
run: forge test --ffi