Skip to content

chore: move from {alias} to $alias #100

chore: move from {alias} to $alias

chore: move from {alias} to $alias #100

Workflow file for this run

---
on: push
name: Test & Lint
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Install Rust
uses: dtolnay/rust-toolchain@d388a4836fcdbde0e50e395dc79a2670ccdef13f # stable
with:
toolchain: '1.76.0'
target: wasm32-wasi
components: clippy
- name: Run Clippy
uses: clechasseur/rs-clippy-check@6489db34e7d7a162364f8ee3d7ad2cd1060dc1d7 # v3
with:
args: --all-features --all-targets
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- uses: jcbhmr/setup-wasmtime@960c367a99921eb0b02f5778fce9ae8f110bf0f0 # v2
- name: Install Rust
uses: dtolnay/rust-toolchain@d388a4836fcdbde0e50e395dc79a2670ccdef13f # stable
with:
toolchain: '1.76.0'
target: wasm32-wasi
- name: Install cargo wasi
run: cargo install cargo-wasi
- name: Run tests
run: cargo wasi test --lib -- --nocapture