Skip to content

Commit

Permalink
Use rhinestone re-usable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGuilding committed May 29, 2024
1 parent f02144b commit 0288b07
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 0288b07

Please sign in to comment.