@@ -47,13 +47,13 @@ jobs:
4747 git checkout $(git merge-base $BASE $HEAD) --recurse-submodules
4848 working-directory : ./before
4949 - name : compile before
50- run : cargo check --all-targets
51- working-directory : ./before/
50+ run : cargo check --manifest-path ./core/Cargo.toml -- all-targets
51+ working-directory : ./before
5252 - name : build before.binpb
5353 run : >
5454 perl -ne 'print "$1\n" if /PROTOBUF_DESCRIPTOR="(.*)"/'
55- `find ./before/target/debug/build/*/output`
56- | xargs cat > ./before.binpb
55+ `find ./before/core/ target/debug/build/*/output`
56+ | xargs cat > ./before/ .binpb
5757
5858 # after
5959 - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
@@ -62,19 +62,21 @@ jobs:
6262 path : after
6363 submodules : recursive
6464 - name : compile after
65- run : cargo check --all-targets
65+ run : cargo check --manifest-path ./core/Cargo.toml -- all-targets
6666 working-directory : ./after
6767 - name : build after.binpb
6868 run : >
6969 perl -ne 'print "$1\n" if /PROTOBUF_DESCRIPTOR="(.*)"/'
70- `find ./after/target/debug/build/*/output`
70+ `find ./after/core/ target/debug/build/*/output`
7171 | xargs cat > ./after.binpb
7272
7373 # compare
7474 - uses : bufbuild/buf-setup-action@54abbed4fe8d8d45173eca4798b0c39a53a7b658 # v1.39.0
7575 with :
7676 github_token : ${{ github.token }}
7777 - name : buf breaking
78- run : >
79- buf breaking './after.binpb' --against './before.binpb' --exclude-path 'zksync/config/experimental.proto'
80- --config '{"version":"v1","breaking":{"use":["WIRE_JSON","WIRE"]}}' --error-format 'github-actions'
78+ run : |
79+ pwd
80+ ls -la
81+ buf breaking './after.binpb' --against './before.binpb' --exclude-path 'zksync/config/experimental.proto' \
82+ --config '{"version":"v1","breaking":{"use":["WIRE_JSON","WIRE"]}}' --error-format 'github-actions'
0 commit comments