Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

new workflow to check cross dependencies

matthew-heartful37c19bbea077
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 92afd64de..d54afddc1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,6 +11,8 @@ on:
jobs:
test-ubuntu:
runs-on: ubuntu-latest
+ env:
+ RUSTFLAGS: "-C link-arg=-Wl,--allow-multiple-definition"
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
@@ -114,3 +116,22 @@ jobs:
env:
DYLD_LIBRARY_PATH: /Users/runner/work/screenpipe/screenpipe/screenpipe-vision/lib
run: cargo test test_apple_native_ocr
+
+ check-dependencies:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: stable
+ - name: Check dependencies
+ run: |
+ cargo tree > cargo_tree_output.txt
+ echo "Checking for esaxx and abseil-cpp usage:"
+ grep -E "esaxx|abseil-cpp" cargo_tree_output.txt || echo "No direct usage found"
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: cargo-tree-output
+ path: cargo_tree_output.txt