Remove Std Dependence & Check Serialized Output In Serde Tests #251
Workflow file for this run
This file contains 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
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
name: Continuous integration | |
jobs: | |
rustfmt: | |
name: Rust Format | |
runs-on: core | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: cargo fmt --all -- --check | |
test_nightly_std: | |
name: Nightly tests std | |
uses: dusk-network/.github/.github/workflows/run-tests.yml@main | |
with: | |
test_flags: --all-features | |
test_nightly_no_std: | |
name: Nightly tests no_std | |
uses: dusk-network/.github/.github/workflows/run-tests.yml@main | |
with: | |
test_flags: --no-default-features | |
compiles_to_wasm_with_serde: | |
name: Compiles to wasm with serde enabled | |
runs-on: core | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: rustup target add wasm32-unknown-unknown | |
- run: cargo b -Zbuild-std=core,alloc --release --no-default-features --features serde --target wasm32-unknown-unknown |