Make dataset in StorageBase interior-mutable #455
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: Style Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - crates/** | |
| - Cargo.toml | |
| - Cargo.lock | |
| - .github/workflows/style.yml | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-C debuginfo=1" | |
| CARGO_INCREMENTAL: "0" | |
| jobs: | |
| format: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: rustfmt | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| clippy: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: "lance-context-deps" | |
| workspaces: | | |
| crates/lance-context-core | |
| python | |
| - name: Install dependencies | |
| run: | | |
| sudo apt update | |
| sudo apt install -y clang libclang-dev protobuf-compiler | |
| - name: Clippy | |
| run: cargo clippy --workspace --all-targets -- -D warnings | |
| # `--workspace` unions every member's features, so `lance-context` is | |
| # always built with `remote` enabled by lance-context-server/-client. | |
| # The release job checks the crate on its own (`default = []`), a | |
| # combination the line above never exercises. Check it explicitly so | |
| # cfg-gated breakage is caught here instead of at release time. | |
| - name: Clippy (lance-context, default features) | |
| run: cargo clippy --manifest-path crates/lance-context/Cargo.toml --all-targets -- -D warnings | |
| typos: | |
| name: Spell Check | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Check spelling | |
| uses: crate-ci/typos@v1.26.0 |