morpho blue sepolia config + generic library resolution/deployment #2030
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: Codegen Test | |
on: | |
push: | |
pull_request: | |
merge_group: | |
jobs: | |
detect-changes: | |
uses: ./.github/workflows/check_diff.yaml | |
with: | |
pattern: ^codegen.* | |
test: | |
name: codegen test | |
runs-on: ubuntu-latest | |
needs: detect-changes | |
if: needs.detect-changes.outputs.changed == 'true' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: install foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
token: ${{github.token}} | |
- name: install requirements | |
run: | | |
pip install -e codegen | |
- name: test | |
run: ./codegen/test/test.sh |