feat: Ownable2Step (#352) #1168
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: check-wasm | |
# 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, release/* ] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-wasm: | |
name: Check WASM binary | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
rustflags: "" | |
- name: Install cargo-stylus | |
run: cargo install [email protected] | |
- name: Run wasm check | |
run: ./scripts/check-wasm.sh |