Skip to content

Commit

Permalink
devops: Add check for rig-core wasm compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cvauclair committed Jan 27, 2025
1 parent f979cbf commit 19475d0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ jobs:
- name: Run cargo fmt
run: cargo fmt -- --check

# Special check to make sure rig-core is compatible with the wasm target
check-wasm:
name: stable / check rig-core wasm target
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Rust stable
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run cargo check wasm target
run: cargo check --package rig-core --features worker --target wasm32-unknown-unknown

clippy:
name: stable / clippy
runs-on: ubuntu-latest
Expand Down

0 comments on commit 19475d0

Please sign in to comment.