Skip to content

Fix wkg fetch instructions #19

Fix wkg fetch instructions

Fix wkg fetch instructions #19

Workflow file for this run

name: CI
on:
pull_request:
env:
RUSTFLAGS: -Dwarnings
jobs:
check_and_test:
name: It builds and tests pass
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Add wasm32-wasip2 target
run: rustup target add wasm32-wasip2
- name: Install cargo-binstall
uses: cargo-bins/[email protected]
- name: Install cargo-component
shell: bash
run: cargo binstall cargo-component
- name: Run cargo check
shell: bash
run: cargo component check
check_style:
name: It follows all style conventions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install wasm32-wasip2 target
run: rustup target add wasm32-wasip2
- name: Run cargo clippy
run: cargo clippy -- -Dwarnings
- name: Run cargo fmt
run: cargo fmt --all -- --check