Dev/memory #591
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: wasm-interpreter-ci | |
on: | |
push: | |
branches-ignore: | |
- "gh-readonly-queue/**" | |
# i don't think we should run CI for examples | |
- "example/**" | |
pull_request: | |
merge_group: | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
env: | |
RUSTFLAGS: "-D warnings" | |
RUSTDOCFLAGS: "-D warnings" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Format | |
run: cargo check | |
- name: Run clippy | |
# for CI we can treat errors as warnings | |
# for reference see: https://doc.rust-lang.org/clippy/usage.html | |
run: cargo clippy | |
- name: Build docs | |
run: cargo doc --document-private-items --verbose | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
conventional_commit_check: | |
name: Conventional Commits | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: webiny/action-conventional-commits@v1.3.0 | |
msrv: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: taiki-e/install-action@cargo-hack | |
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private |