diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88ba608..ffad0d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,19 @@ jobs: # The dependency build dominates the runtime; cache it on the lockfile. - uses: Swatinem/rust-cache@v2 + # Every CI run contributes this build to the public compile-time census + # at . It builds what the steps below would have + # built anyway, measured, so what is added here is mostly the measuring. + # + # `strict` because this is the build. A measurement that quietly did not + # happen would mean nothing built the project either, and a green check + # would be saying so about work that never ran. + - uses: PowderworksCode/cratebank/action@v0.1.1 + with: + args: --workspace + org-id: powderworks + strict: "true" + - name: Format run: cargo fmt --all --check diff --git a/Cargo.toml b/Cargo.toml index 1819f0f..60c6d12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,10 @@ license = "MIT" [profile.release] lto = "thin" + +[workspace.metadata.cratebank] +# Opted in: this repository is public, so its crate names are already +# public. Without this the census records the build and withholds the +# names, which for an open repository is precision nobody asked for. +public = true +repository = "https://github.com/PowderworksCode/immersion"