chore: remove use of default for points and scalars #508
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: [push, pull_request] | |
name: Test | |
jobs: | |
wasm: | |
name: cargo build (WASM) | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
targets: wasm32-unknown-unknown | |
- name: build (WASM) | |
run: cargo +stable build --target=wasm32-unknown-unknown --no-default-features | |
check: | |
name: cargo check | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: check (no features) | |
run: cargo +stable check --no-default-features | |
- name: check (all features) | |
run: cargo +stable check --all-features --all-targets | |
docs: | |
name: cargo doc | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: Build documentation | |
run: RUSTDOCFLAGS="-D warnings" cargo +stable doc --no-deps | |
test-release: | |
name: cargo test (release) | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: test/release (all features) | |
run: cargo +stable test --release --all-features | |
- name: test/release (no features) | |
run: cargo +stable test --release --no-default-features | |
test-debug: | |
name: cargo test (debug) | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: test/debug (all features) | |
run: cargo +stable test --all-features | |
- name: test/debug (no features) | |
run: cargo +stable test --no-default-features |