Skip to content

Commit

Permalink
foundry ci
Browse files Browse the repository at this point in the history
  • Loading branch information
benceharomi committed Aug 19, 2024
1 parent 2529c27 commit f4da3f7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/foundry-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Foundry CI
on: [pull_request]
jobs:
build-l1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.18.0
cache: yarn
- uses: foundry-rs/foundry-toolchain@v1
- run: yarn
- run: forge build --contracts contracts/l1-contracts

build-l2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.18.0
cache: yarn
- uses: foundry-rs/foundry-toolchain@v1
- run: yarn
- run: forge build --contracts contracts/l2-contracts

0 comments on commit f4da3f7

Please sign in to comment.