Skip to content

chore(deps): update rust to nightly-2026-08-09 (#101) #257

chore(deps): update rust to nightly-2026-08-09 (#101)

chore(deps): update rust to nightly-2026-08-09 (#101) #257

Workflow file for this run

name: CI
on:
push:
branches: ["develop"]
pull_request: {}
workflow_dispatch: {}
permissions:
actions: read
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: spiraldb/actions/.github/actions/setup-rust@a746510eafaa926484c354541cfc49b2ec06cc63 # 0.18.6
with:
shared_key: "build"
- name: Rust Build
run: cargo build --all-features --all-targets
- name: Rust Lint - Format
run: cargo fmt --all --check
- name: Rust Lint - Clippy
run: cargo clippy --all-features --all-targets
# Rustdoc warnings are denied through the lints table, so this fails on a broken intra-doc
# link, which is also what would fail the docs.rs build.
- name: Rust Lint - Docs
run: cargo doc --all-features --no-deps
- name: Rust Test
run: cargo test --workspace --all-features
bench:
name: Benchmark
runs-on: ubuntu-latest
# Fork pull requests do not get repository secrets, so CODSPEED_TOKEN would be empty and the
# upload would fail. Skip the job there rather than report a red check a contributor cannot fix.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: spiraldb/actions/.github/actions/setup-rust@a746510eafaa926484c354541cfc49b2ec06cc63 # 0.18.6
with:
shared_key: "bench"
- name: Install cargo-codspeed
uses: taiki-e/install-action@6a1bd70eaac3c8bdf093356838d7ee09fda951cf # v2
with:
tool: cargo-codspeed@5.0.1
- name: Build benchmarks
run: cargo codspeed build --all-features
- name: Run benchmarks
uses: CodSpeedHQ/action@88472375d0a4572cf70a9f1fe3a4e0ab8da1b924 # v5
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
mode: "simulation"
msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: spiraldb/actions/.github/actions/setup-rust@a746510eafaa926484c354541cfc49b2ec06cc63 # 0.18.6
with:
shared_key: "msrv"
- name: Install cargo-msrv
uses: taiki-e/install-action@6a1bd70eaac3c8bdf093356838d7ee09fda951cf # v2
with:
tool: cargo-msrv@0.19.3
- name: Verify MSRV
run: cargo msrv verify -- cargo check --all-features --all-targets --locked