misc: bump version to 0.3.0 #32
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: Build Rust Crate | |
on: | |
push: | |
branches: | |
- dev | |
- main | |
- release-* | |
- feat-* | |
- ci-* | |
- refactor-* | |
- fix-* | |
- test-* | |
pull_request: | |
branches: | |
- dev | |
- main | |
- release-* | |
- feat-* | |
- ci-* | |
- refactor-* | |
- fix-* | |
- test-* | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Enable wasm32-wasip1 target | |
run: rustup target add wasm32-wasip1 | |
- name: Run rustfmt | |
run: | | |
cd rust | |
cargo fmt -- --check | |
- name: Run clippy | |
run: | | |
cd rust | |
cargo clippy -- -D warnings | |
- name: Build | |
run: | | |
cd rust | |
cargo build --target=wasm32-wasip1 --release |