Update release.yml #43
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test All Features on Host | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test-matrix: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Rust toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| cache: true | |
| - name: Test all features | |
| run: cargo test --all-features | |
| # TODO: Re-enable wasm32 check once ucan's #[cfg(target_arch = "wasm32")] | |
| # code paths are fixed (missing wasm-bindgen/js-sys deps in ucan crate). | |
| # - name: Install wasm32 target | |
| # run: rustup target add wasm32-unknown-unknown | |
| # - name: Check wasm32 target (ucan_wasm) | |
| # run: cargo check --package ucan_wasm --target wasm32-unknown-unknown |