diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa7b28b..dbfb51e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,10 +72,27 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Rust - run: rustup update nightly --no-self-update + run: rustup update --no-self-update - name: Install Cross run: cargo install --force cross - name: Test run: cross test --target=${{ matrix.target }} - name: Check with no default features run: cross check --target=${{ matrix.target }} --no-default-features + cross-check: + name: cross-check + runs-on: ubuntu-latest + strategy: + matrix: + target: + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v4 + - name: Install Rust + run: rustup update --no-self-update + - name: Add target + run: rustup target add ${{ matrix.target }} + - name: Check + run: cross check --target=${{ matrix.target }} + - name: Check with no default features + run: cross check --target=${{ matrix.target }} --no-default-features