fix the format check CI

This commit is contained in:
pistomat
2024-03-27 10:59:45 +01:00
parent c1143c2601
commit 66e25d1a09
2 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
name: test evm
name: test & check evm
on:
push:
pull_request:
paths:
- "evm/**"
@@ -15,6 +15,9 @@ jobs:
name: Foundry project
runs-on: ubuntu-latest
defaults:
run:
working-directory: evm
steps:
- uses: actions/checkout@v3
with:
@@ -27,20 +30,18 @@ jobs:
- name: Run Forge build
run: |
cd evm
forge --version
forge build --sizes
id: build
- name: Run Forge format check
run: |
forge --version
forge fmt --check
id: format
forge --version
forge fmt --check
id: format
- name: Run Forge tests
run: |
cd evm
forge test -vvv
id: test
env: