Skip to content

Merge pull request #6 from cloudflavor/fix/wit-bindgen-file-check #9

Merge pull request #6 from cloudflavor/fix/wit-bindgen-file-check

Merge pull request #6 from cloudflavor/fix/wit-bindgen-file-check #9

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
target: wasm32-wasip1
- name: Install wit-bindgen
run: cargo install wit-bindgen-cli
- name: Check WIT API
run: scripts/check-wit.sh
- name: Run clippy
run: cargo clippy
- name: Build plugins
run: cargo build