Skip to content

Commit 2a642f1

Browse files
committed
add ci.yml
1 parent 53ead37 commit 2a642f1

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/test.yml renamed to .github/workflows/ci.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
name: test
1+
name: Build
22

3-
on: workflow_dispatch
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
48

59
env:
610
FOUNDRY_PROFILE: ci
@@ -19,13 +23,13 @@ jobs:
1923
with:
2024
version: nightly
2125

22-
- name: Run Forge build
26+
- name: Forge build
2327
run: |
2428
forge --version
2529
forge build --sizes
2630
id: build
2731

28-
- name: Run Forge tests
29-
run: |
30-
forge test -vvv --rpc-url ${{ secrets.BSC_RPC_URL }}
31-
id: test
32+
# - name: Forge tests
33+
# run: |
34+
# forge test -vvv --rpc-url ${{ secrets.BSC_RPC_URL }}
35+
# id: test

0 commit comments

Comments
 (0)