File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Substrait Package Version Checks
2+
3+ on :
4+ pull_request :
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ substrait-package-version-checks :
11+ name : Verify substrait-* Package Versions
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v6
16+ with :
17+ submodules : recursive
18+
19+ - name : Install uv with python
20+ uses : astral-sh/setup-uv@v7
21+
22+ - name : Verify substrait-* versions
23+ run : ./check_substrait_package_versions.sh
24+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -euo pipefail
3+
4+ # Check that all substrait-* packages have the same version
5+
6+ protobuf_version=$( uv pip show substrait-protobuf | grep ' ^Version:' | awk ' {print $2}' )
7+ antlr_version=$( uv pip show substrait-antlr | grep ' ^Version:' | awk ' {print $2}' )
8+
9+ if [ " $protobuf_version " != " $antlr_version " ]; then
10+ echo " error: substrait-protobuf ($protobuf_version ) and substrait-antlr ($antlr_version ) versions do not match"
11+ exit 1
12+ fi
You can’t perform that action at this time.
0 commit comments