This repository was archived by the owner on Apr 21, 2026. It is now read-only.
chore(deps): bump dtolnay/rust-toolchain from 1.91 to 1.100 #7
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: ci | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-D warnings" | |
| # Rely on Swatinem/rust-cache for cross-run caching; per-run incremental | |
| # compilation buys little on CI and inflates cache size. | |
| CARGO_INCREMENTAL: 0 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| fmt: | |
| name: fmt-check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - run: cargo fmt --all -- --check | |
| clippy: | |
| name: clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo clippy --workspace --all-targets -- -D warnings | |
| test: | |
| name: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo test --workspace --all-targets | |
| # Guard feature-gated code (lance, anthropic, notion, asana, voyage, | |
| # openai, cohere, lang-go, …) against bit-rot. Default CI builds never | |
| # exercise these, so a type error or missing cfg can ship silently. | |
| # `--each-feature` is cheap: one check per feature, ~90% of powerset | |
| # coverage without the combinatorial blow-up. | |
| features-check: | |
| name: features (cargo hack --each-feature) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: install cargo-hack | |
| uses: taiki-e/install-action@cargo-hack | |
| - run: cargo hack check --workspace --each-feature --no-dev-deps | |
| - run: cargo hack check --workspace --feature-powerset --depth 2 --no-dev-deps --exclude-no-default-features | |
| if: false # Enable if per-feature coverage proves insufficient; expensive. | |
| # Enforce the declared MSRV. Without this, an upstream crate bumping | |
| # its rust-version above ours can break consumers on stable before we | |
| # notice. Pinning dtolnay/rust-toolchain to the MSRV (not @stable) is | |
| # the canonical way to assert the floor in CI. | |
| msrv: | |
| name: msrv (1.91) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install toolchain | |
| uses: dtolnay/rust-toolchain@1.100 | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo check --workspace --all-targets | |
| # Optional dogfood gate: self-index this repo and run the precision@k gold | |
| # set. Kept in its own job so a recall regression shows up as a distinct | |
| # red check without blocking unit tests. | |
| eval: | |
| name: eval (precision@k) | |
| runs-on: ubuntu-latest | |
| needs: [test] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: build release | |
| run: cargo build --release -p thoth-cli | |
| - name: self-index | |
| run: | | |
| mkdir -p .thoth | |
| ./target/release/thoth --root .thoth init | |
| ./target/release/thoth --root .thoth index . | |
| - name: eval | |
| run: ./target/release/thoth --root .thoth eval --gold eval/gold.toml -k 8 |