Feat/frontend improvements #12
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: zkEngine CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
components: rustfmt, clippy | |
- name: Run cargo fmt --check | |
run: cargo fmt -- --check | |
- name: Run cargo clippy | |
run: cargo clippy --verbose --all-targets --all-features -- -D warnings | |
- name: Install wasm32 target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Build for WASM | |
run: cargo build --target wasm32-unknown-unknown |