Builder Playground Action

February 12, 2026 ยท View on GitHub

GitHub Action to deploy blockchain environments using builder-playground.

Usage

- name: Start Builder Playground
  uses: flashbots/builder-playground-action@v1
  with:
    recipe: l1 # Optional: Recipe name or path to playground.yaml (just installs if not provided)
    version: v0.3.1
    detached: true
    args: --log-level=trace

Inputs

InputDescriptionRequiredDefault
versionVersion of builder-playground to useNolatest
recipeRecipe name or path to playground.yaml fileNo-
detachedRun playground in detached modeNotrue
argsAdditional arguments to pass to builder-playground startNo-

Example Workflows

Install only

name: Deploy Devnet
on: [push]

jobs:
  install:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install builder-playground
        uses: flashbots/builder-playground-action@v1

      - name: Run tests
        run: |
          builder-playground start <your-args>
          # Your tests here

Auto-start with a built-in recipe

name: Deploy Devnet
on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Start playground
        uses: flashbots/builder-playground-action@v1
        with:
          recipe: l1
          args: --use-native-reth --timeout 5s

      - name: Run tests
        run: |
          # Your tests here

Using a custom recipe file

name: Deploy Custom Environment
on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Start playground
        uses: flashbots/builder-playground-action@v1
        with:
          version: v0.3.1
          recipe: ./configs/playground.yaml

      - name: Run tests
        run: |
          # Your tests here

How it works

This action uses flashbots-toolchain to install builder-playground and then runs it in the background with your specified recipe.

Testing locally

  • Install act (nektos/act).
  • Change action.yml or the action test workflow in .github/workflows/test.yml.
  • make test

License

MIT