Skip to content

Merge pull request #24 from wacker-dev/wasi-0.2.2 #57

Merge pull request #24 from wacker-dev/wasi-0.2.2

Merge pull request #24 from wacker-dev/wasi-0.2.2 #57

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
- 'release-**'
pull_request:
jobs:
ci:
name: Lint and test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@1.79.0
with:
targets: wasm32-wasip1
components: clippy, rustfmt
- name: Re-vendor WIT
run: |
./scripts/vendor-wit.sh
git diff --exit-code
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: cargo test
run: cargo test