a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
9 lines
299 B
Nix
9 lines
299 B
Nix
# Check protobuf syntax and breaking.
|
|
#
|
|
{ depot, pkgs, ... }:
|
|
|
|
pkgs.writeShellScriptBin "ci-buf-check" ''
|
|
${depot.third_party.bufbuild}/bin/buf check lint --input .
|
|
# Report-only
|
|
${depot.third_party.bufbuild}/bin/buf check breaking --input "." --against-input "./.git#branch=canon" || true
|
|
''
|