From d29b2802d3527c3e3917557a9d41cc5b158cda2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pernas=20Maradei?= Date: Mon, 11 Mar 2024 12:39:06 +0100 Subject: [PATCH] ci: add job to check contract sizes --- .github/workflows/{test.yml => foundry.yml} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename .github/workflows/{test.yml => foundry.yml} (74%) diff --git a/.github/workflows/test.yml b/.github/workflows/foundry.yml similarity index 74% rename from .github/workflows/test.yml rename to .github/workflows/foundry.yml index 3e5bc4b4..b6731d24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/foundry.yml @@ -1,4 +1,4 @@ -name: Tests +name: Foundry on: pull_request: @@ -21,5 +21,8 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - - name: Test + - name: Check contract sizes + run: forge build --sizes --deny-warnings + + - name: Tests run: forge test