chore: bump to v0.1.6 — license switch, real DIRINT/detect_clearsky/b… #1
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: CI | |
| on: | |
| push: | |
| branches: [ master, main ] | |
| pull_request: | |
| branches: [ master, main ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-Dwarnings" | |
| jobs: | |
| check: | |
| name: fmt / clippy / doc | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: cargo fmt | |
| run: cargo fmt --all -- --check | |
| - name: cargo clippy (default features) | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: cargo clippy (no default features) | |
| run: cargo clippy --no-default-features --all-targets -- -D warnings | |
| - name: cargo doc | |
| run: cargo doc --no-deps --all-features | |
| env: | |
| RUSTDOCFLAGS: "-D warnings" | |
| test: | |
| name: test / ${{ matrix.os }} / ${{ matrix.toolchain }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| toolchain: [stable] | |
| include: | |
| - os: ubuntu-latest | |
| toolchain: "1.85" # MSRV | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: cargo test | |
| run: cargo test --all-features | |
| - name: cargo test --release (batch perf path) | |
| if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest' | |
| run: cargo test --release --all-features | |
| wasm: | |
| name: wasm32-unknown-unknown build (no-default-features) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-unknown-unknown | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: cargo build | |
| run: cargo build --target wasm32-unknown-unknown --no-default-features | |
| audit: | |
| name: cargo audit | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Install cargo-audit | |
| run: cargo install --locked cargo-audit | |
| - name: cargo audit | |
| run: cargo audit |