File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 4444 steps :
4545 - uses : actions/checkout@v5
4646
47+ - name : Verify example datafusion version
48+ run : |
49+ MAIN_VERSION=$(grep -A 1 "name = \"datafusion-common\"" Cargo.lock | grep "version = " | head -1 | sed 's/.*version = "\(.*\)"/\1/')
50+ EXAMPLE_VERSION=$(grep -A 1 "name = \"datafusion-common\"" examples/datafusion-ffi-example/Cargo.lock | grep "version = " | head -1 | sed 's/.*version = "\(.*\)"/\1/')
51+ echo "Main crate datafusion version: $MAIN_VERSION"
52+ echo "FFI example datafusion version: $EXAMPLE_VERSION"
53+
54+ if [ "$MAIN_VERSION" != "$EXAMPLE_VERSION" ]; then
55+ echo "❌ Error: FFI example datafusion versions don't match!"
56+ exit 1
57+ fi
58+
4759 - name : Setup Rust Toolchain
4860 uses : dtolnay/rust-toolchain@stable
4961 id : rust-toolchain
You can’t perform that action at this time.
0 commit comments