Playground check #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |