webclaw/.github/workflows/deps.yml
Valerio 8b82ad12d0 ci: add weekly primp compatibility check
Runs every Monday — updates primp to latest, tries to build.
If patches are out of sync the build fails with a clear error
pointing to primp's Cargo.toml for the new patch list.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 18:45:45 +01:00

31 lines
827 B
YAML

name: Dependency Check
on:
schedule:
- cron: "0 9 * * 1" # Every Monday 9am UTC
workflow_dispatch: # Manual trigger
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "--cfg reqwest_unstable"
jobs:
check-primp:
name: Check primp compatibility
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
# Try building with latest primp — if patches are out of sync this fails
- name: Update primp to latest
run: cargo update -p primp
- name: Build with latest deps
run: cargo build -p webclaw-cli
- name: Notify on failure
if: failure()
run: |
echo "::error::primp updated and build broke. Patches in Cargo.toml may need syncing with https://github.com/deedy5/primp/blob/main/Cargo.toml"