Skip to content

open source contracts #4

open source contracts

open source contracts #4

Workflow file for this run

name: Tests-Merge
on:
push:
branches:
- main
jobs:
test:
runs-on:
labels: ubuntu-latest-large
timeout-minutes: 30
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Bun
uses: oven-sh/setup-bun@v1
- name: Install the Node.js dependencies
run: bun install
- name: Generate a fuzz seed that changes weekly to avoid burning through RPC allowance
run: echo "FOUNDRY_FUZZ_SEED=$(echo $(($EPOCHSECONDS - $EPOCHSECONDS % 604800)))" >> $GITHUB_ENV
- name: Run tests
run: forge test
env:
FOUNDRY_PROFILE: ci