Ensure dependency requirements are bumped

#436
This commit is contained in:
Kornel 2026-01-16 16:42:11 +00:00 committed by Kornel
parent 98215dbdb0
commit f10414d927

View File

@ -4,6 +4,7 @@ on:
pull_request:
branches:
- master
- v4.x
push:
branches:
- master
@ -63,6 +64,15 @@ jobs:
run: cargo doc --no-deps -p boring -p boring-sys --features rpk,pq-experimental,underscore-wildcards
env:
DOCS_RS: 1
- name: Cargo.toml boring versions consistency
shell: bash
run: |
WORKSPACE_VERSION=$(grep -F '[workspace.package]' -A1 Cargo.toml | grep -F version | grep -Eo '".*"')
if [[ -z "$WORKSPACE_VERSION" ]]; then echo 2>&1 "error: can't find boring version"; exit 1; fi
if grep -E 'boring.* =' Cargo.toml | grep -vF "$WORKSPACE_VERSION"; then
echo 2>&1 "error: boring dependencies must match workspace version $WORKSPACE_VERSION"
exit 1
fi
test:
name: Test
runs-on: ${{ matrix.os }}