Skip to content

Commit

Permalink
Update optimism-ci.yaml (#9)
Browse files Browse the repository at this point in the history
* Update optimism-ci.yaml

Updates `optimism-ci.yaml` to install `rust`, `foundry`, and `just` so that we can build snapshots as part of `run-kontrol.sh`.

* Update .github/workflows/optimism-ci.yaml

Co-authored-by: Matt Solomon <[email protected]>

* Update optimism-ci.yaml

* Update optimism-ci.yaml

* Update optimism-ci.yaml

* Update optimism-ci.yaml

---------

Co-authored-by: Matt Solomon <[email protected]>
  • Loading branch information
smartcontracts and mds1 authored Sep 3, 2024
1 parent e6e4948 commit a38a149
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/optimism-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,36 @@ jobs:
git checkout ${{ github.event.inputs.branch_name }}
fi
- name: "Set up Rust Toolchain"
uses: dtolnay/rust-toolchain@stable

- name: "Install Just"
uses: extractions/setup-just@v1
with:
just-version: 1.35.0

- name: "Install Foundry"
shell: bash
run: |
curl -L https://foundry.paradigm.xyz | bash
- name: "Update Foundry"
shell: bash
run: |
pushd optimism > /dev/null
source $HOME/.foundry/bin/foundryup
export PATH=$HOME/.foundry/bin:$PATH
just update-foundry
- name: "Generate Kontrol Summaries"
shell: bash
run: |
pushd optimism/packages/contracts-bedrock > /dev/null
source $HOME/.foundry/bin/foundryup
export PATH=$HOME/.foundry/bin:$PATH
just kontrol-summary
just kontrol-summary-fp
- name: "Download KCFG Cache Results"
shell: bash
run: |
Expand Down

0 comments on commit a38a149

Please sign in to comment.