Skip to content

test: add fork test to check distribution #1

test: add fork test to check distribution

test: add fork test to check distribution #1

Workflow file for this run

name: Forge Fork Test
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
permissions: write-all
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install yarn dependencies
run: yarn
- name: Run Forge fork tests
run: yarn fork-run:local
env:
LOCALHOST_RPC_URL: ${{ secrets.LOCALHOST_RPC_URL_FOR_TESTS }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY_FOR_TESTS }}