Skip to content

Playground check

Playground check #7

name: Plauground operation check
on:
pull_request:
workflow_dispatch:
jobs:
playground-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependency
run: sudo apt-get -qq update && sudo apt-get -y -q install curl jq
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Setup environment
run: |
cp playground/.env.example playground/.env
sed -i -e 's/ETH_RPC_URL=.*/ETH_RPC_URL=$FORK_URL_MAINNET/g' playground/.env
cat playground/.env
- name: Start docker containers
run: |
cd playground
docker compose -f docker-compose.fork.yml up -d
- name: Execute validation script
run: playground/test_playground.sh