mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-05-16 18:35:12 +02:00
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>
31 lines
827 B
YAML
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"
|