ci: add job to check if anvil state is up to date #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: generate anvil state | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
merge_group: | |
jobs: | |
generate-anvil-state: | |
name: generate anvil state | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: stable | |
- name: Generate anvil state | |
run: make deploy-contracts-to-anvil-and-save-state |