Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,30 @@ jobs:
- name: Run all tests
run: cargo test --all

check:
name: Check feature combinations
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: |
rustup update stable --no-self-update
rustup default stable
shell: bash
- name: Build without default features
run: cargo check --no-default-features
- name: Build the `wat` feature
run: cargo check --no-default-features --features wat
- name: Build the `wit` feature
run: cargo check --no-default-features --features wit
- name: Build the `registry` feature
run: cargo check --no-default-features --features registry
- name: Build all features
run: cargo check --all-features

rustfmt:
name: Format source code
runs-on: ubuntu-latest
Expand Down
Loading