1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: CI
on:
push:
branches:
pull_request:
branches:
schedule:
- cron: "0 6 * * 1" # weekly Monday 06:00 UTC — surfaces expired allowlist entries and new advisories
permissions:
contents: read
jobs:
ci:
uses: brefwiz/shared-ci-workflows/.github/workflows/rust.yml@main
with:
run-coverage: true
run-no-std: true
# Release-readiness gate — runs `cargo package` (with full verify) on
# every publishable workspace member. Catches the failure mode where
# `include = [...]` paths don't actually ship the referenced files
# inside the .crate tarball, which `cargo publish --no-verify` would
# accept and only blow up at registry-verify time.
#
# api-bones-protos 0.1.0 originally hit exactly this: `include = ["../proto/..."]`
# silently dropped the proto bytes, the tarball uploaded fine, and the
# crates.io verify-compile step failed on `include_bytes!` not finding
# the files. Running `cargo package -p <crate>` at PR time would have
# caught it before the broken release.
package:
name: Release-readiness (cargo package --verify)
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- run: make ci-release-readiness
# TypeScript packages: build and test
ts-packages:
name: TypeScript packages (build & test)
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: make ts-build
- run: make ts-test