build: bump Stylus SDK to v0.10 #3069
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: gas-bench | |
| # This workflow checks that the compiled wasm binary of every example contract | |
| # can be deployed to Arbitrum Stylus. | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main, v*] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| required: | |
| name: Gas usage report | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| cache-key: "gas-bench" | |
| rustflags: "" | |
| - name: Install cargo-stylus | |
| run: cargo install --locked --force [email protected] | |
| - name: Install wasm-opt | |
| run: cargo install [email protected] | |
| - name: Setup nitro node | |
| run: ./scripts/nitro-testnode.sh -d -i | |
| - name: run benches | |
| run: ./scripts/bench.sh |