blob: 25a8865d8dcf354fb1ecbf7d21a0b024142d1b38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# Check protobuf syntax and breaking.
#
{ depot, pkgs, ... }:
pkgs.writeShellScriptBin "ci-buf-check" ''
${depot.third_party.nixpkgs.buf}/bin/buf lint .
# Report-only
${depot.third_party.nixpkgs.buf}/bin/buf breaking . --against "./.git#ref=HEAD~1" || true
''
|