From 0288b0760e49e89816b19dfdf3b31ec71c581bac Mon Sep 17 00:00:00 2001 From: JohnGuilding Date: Wed, 29 May 2024 14:29:44 +0100 Subject: [PATCH] Use rhinestone re-usable workflows --- .github/workflows/test.yml | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c4d490b0..de156e23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,29 +10,13 @@ env: FOUNDRY_PROFILE: ci jobs: - check: - strategy: - fail-fast: true + build: + uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-build.yaml@main" - name: Foundry project - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - - name: Run Forge build - run: | - forge --version - forge build --sizes - id: build - - - name: Run Forge tests - run: | - forge test -vvv - id: test + test: + needs: ["build"] + uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test.yaml@main" + with: + foundry-fuzz-runs: 5000 + foundry-profile: "test" + match-path: "test/**/*.sol"