Bump up lodestar and ethereum-package #41
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| name: lint | |
| timeout-minutes: 20 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install components | |
| run: | | |
| rustup component add rustfmt clippy | |
| cargo install cargo-machete | |
| - name: Check format | |
| run: cargo fmt --all -- --check | |
| - name: Check clippy | |
| run: cargo clippy --locked -- -D warnings | |
| - name: Check deps | |
| run: cargo machete | |
| test: | |
| name: test | |
| timeout-minutes: 120 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: extractions/setup-just@v2 | |
| with: | |
| just-version: 1.40.0 | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Install kurtosis | |
| run: | | |
| sudo apt-get install jq | |
| echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list | |
| sudo apt update | |
| sudo apt remove kurtosis-cli | |
| sudo apt install kurtosis-cli=1.8.1 -V | |
| - name: Prepare optimism | |
| run: make chain | |
| - name: Start optimism | |
| run: | | |
| make devnet-up | |
| make set-port | |
| - name: Start preimage server | |
| run: make server-up & | |
| - name: Wait for chain to get ready | |
| run: make wait | |
| - name: Test | |
| run: make test |