fix the format check CI
This commit is contained in:
15
.github/workflows/evm.yml
vendored
15
.github/workflows/evm.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: test evm
|
name: test & check evm
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "evm/**"
|
- "evm/**"
|
||||||
|
|
||||||
@@ -15,6 +15,9 @@ jobs:
|
|||||||
|
|
||||||
name: Foundry project
|
name: Foundry project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: evm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -27,20 +30,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Forge build
|
- name: Run Forge build
|
||||||
run: |
|
run: |
|
||||||
cd evm
|
|
||||||
forge --version
|
forge --version
|
||||||
forge build --sizes
|
forge build --sizes
|
||||||
id: build
|
id: build
|
||||||
|
|
||||||
- name: Run Forge format check
|
- name: Run Forge format check
|
||||||
run: |
|
run: |
|
||||||
forge --version
|
forge --version
|
||||||
forge fmt --check
|
forge fmt --check
|
||||||
id: format
|
id: format
|
||||||
|
|
||||||
- name: Run Forge tests
|
- name: Run Forge tests
|
||||||
run: |
|
run: |
|
||||||
cd evm
|
|
||||||
forge test -vvv
|
forge test -vvv
|
||||||
id: test
|
id: test
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -5,8 +5,9 @@ author:
|
|||||||
|
|
||||||
# Protocol Constants
|
# Protocol Constants
|
||||||
constants:
|
constants:
|
||||||
|
# The expected average gas cost of a swap
|
||||||
protocol_gas: 30000
|
protocol_gas: 30000
|
||||||
# minimum capabilities we can expect, individual pools may extend these
|
# Minimum capabilities we can expect, individual pools may extend these
|
||||||
capabilities:
|
capabilities:
|
||||||
- SellSide
|
- SellSide
|
||||||
- BuySide
|
- BuySide
|
||||||
|
|||||||
Reference in New Issue
Block a user