Skip to content

Instantly share code, notes, and snippets.

@PaulRBerg
Created December 14, 2022 16:03
Show Gist options
  • Save PaulRBerg/8b290d9c82d904bd3d27c5fcd7eb60e1 to your computer and use it in GitHub Desktop.
Save PaulRBerg/8b290d9c82d904bd3d27c5fcd7eb60e1 to your computer and use it in GitHub Desktop.
Simple YAML script for caching RPC responses when fork testing with Foundry in GitHub Actions
- name: "Cache RPC Responses"
uses: "actions/cache@v3"
with:
path: "~/.foundry/cache/rpc/mainnet/16183456"
key: "${{ runner.os }}-mainnet-16183456"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment