build: bump Rust and cargo-stylus versions #353
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: 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 ] | |
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@v4 | |
- name: set up rust | |
uses: dtolnay/rust-toolchain@master | |
id: toolchain | |
with: | |
target: wasm32-unknown-unknown | |
components: rust-src | |
toolchain: nightly-2024-07-25 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: "gas-bench" | |
- name: install solc | |
run: | | |
curl -LO https://github.com/ethereum/solidity/releases/download/v0.8.24/solc-static-linux | |
sudo mv solc-static-linux /usr/bin/solc | |
sudo chmod a+x /usr/bin/solc | |
- name: setup nitro node | |
run: ./scripts/nitro-testnode.sh -d -i | |
- name: run benches | |
run: ./scripts/bench.sh |