Skip to content

Bump wit-parser from 0.221.2 to 0.222.0 in /native/wasmex #316

Bump wit-parser from 0.221.2 to 0.222.0 in /native/wasmex

Bump wit-parser from 0.221.2 to 0.222.0 in /native/wasmex #316

Workflow file for this run

name: Rust CI
on:
pull_request:
paths:
- "native/wasmex/**"
push:
branches:
- main
defaults:
run:
working-directory: ./native/wasmex/
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: rust-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo fmt -- --check
- run: |
touch src/lib.rs
# need to disable extra_unused_lifetimes clippy because of rustler lifetime issues
# https://github.com/rusterlium/rustler/issues/428
cargo clippy --all-targets --all-features -- -D warnings -A clippy::extra_unused_lifetimes