Skip to content

feat(ci): Add whitepaper preview #640

feat(ci): Add whitepaper preview

feat(ci): Add whitepaper preview #640

Workflow file for this run

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/[email protected]
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