nuke docs build #42
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
on: [pull_request, push] | |
jobs: | |
# supersim: | |
# uses: velodrome-finance/sugar-sdk/.github/workflows/supersim.yaml@main | |
test: | |
runs-on: ubuntu-latest | |
env: | |
SUGAR_PK: ${{ secrets.SUGAR_PK }} | |
steps: | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Confirm forge is installed | |
run: forge --version | |
- name: Install supersim | |
run: brew install ethereum-optimism/tap/supersim | |
- name: Confirm supersim is installed | |
run: supersim --version | |
- name: Fork | |
run: | | |
supersim fork --l2.host=0.0.0.0 --l2.starting.port=4444 --chains=op,base > /dev/null 2>&1 & | |
sleep 10 | |
- name: Test fork | |
run: cast call 0x7F6D3A4c8a1111DDbFe282794f4D608aB7Cb23A2 "MAX_TOKENS()(uint256)" --rpc-url http://localhost:4444 | |
- uses: fastai/workflows/nbdev-ci@master |