mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-04-25 00:06:21 +02:00
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>
This commit is contained in:
parent
76cb6b6cd7
commit
8b82ad12d0
1 changed files with 31 additions and 0 deletions
31
.github/workflows/deps.yml
vendored
Normal file
31
.github/workflows/deps.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue