Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: CI

on:
push:
branches:
- master
- dev
- boilerplate
- idiomatic
- rc1
- rc2
- rc3
pull_request:

permissions:
contents: read

defaults:
run:
shell: bash

env:
CARGO_TERM_COLOR: always

jobs:
check:
name: Stable checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
components: clippy

- name: Install pinned nightly rustfmt
run: rustup toolchain install nightly-2026-08-08 --profile minimal --component rustfmt

- uses: Swatinem/rust-cache@v2

- name: cargo test (all targets)
run: cargo test --all-targets --locked

- name: cargo test (no default features)
run: cargo test --no-default-features --locked

- name: cargo test (binary scaling)
run: cargo test --features binary-scaling --locked

- name: cargo clippy
run: cargo clippy --all-targets --locked -- -D warnings

- name: cargo doc
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --locked

- name: rustfmt
run: RUSTUP_TOOLCHAIN=nightly-2026-08-08 ./scripts/fmt --check

- name: DOC_76 checker
run: python3 scripts/check_doc_76.py

- name: RUST_TEST_NAMING checker
run: python3 scripts/check_test_names.py

- name: DERIVE_LAYOUT checker
run: python3 scripts/check_derives.py

- name: cargo build (example)
run: cargo build --example build_histogram --locked

- name: cargo publish (dry run)
run: cargo publish --dry-run --locked

msrv:
name: MSRV (1.74)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@1.74.0

- uses: Swatinem/rust-cache@v2

- name: cargo check (library)
run: cargo +1.74.0 check --lib --locked
22 changes: 0 additions & 22 deletions .github/workflows/rust.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# p99.Rust CHANGES <!-- omit in toc -->
# p99.Rust - Changes <!-- omit in toc -->


## 0.0.3 - 14th July 2026
Expand Down
108 changes: 61 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading