Skip to content

Commit

Permalink
fix ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a5-pickle committed Jan 2, 2024
1 parent 0532d04 commit 9a8c8b2
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,7 @@ on:
- "main"

jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: "Check out the repo"
uses: "actions/checkout@v3"
with:
submodules: "recursive"

- name: "Install Foundry"
uses: "foundry-rs/foundry-toolchain@v1"

- name: "Build the contracts and print their size"
run: "forge build --sizes"

- name: "Add build summary"
run: |
echo "## Build result" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
test:
needs: ["build"]
evm-test:
runs-on: "ubuntu-latest"
steps:
- name: "Check out the repo"
Expand All @@ -43,7 +23,7 @@ jobs:
uses: "foundry-rs/foundry-toolchain@v1"

- name: "Run the tests"
run: "make test"
run: "cd evm && make test"

- name: "Add test summary"
run: |
Expand Down

0 comments on commit 9a8c8b2

Please sign in to comment.