-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (33 loc) · 812 Bytes
/
ci.yml
File metadata and controls
40 lines (33 loc) · 812 Bytes
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: Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@c7450ba673e133f5ee30098b3b54f444d3a2ca2d # v1.8.0
with:
version: nightly
- name: Forge lint
run: |
forge lint
id: lint
- name: Forge build
run: |
forge --version
forge build --sizes
id: build
# - name: Forge tests
# run: |
# forge test -vvv --rpc-url ${{ secrets.BSC_RPC_URL }}
# id: test