From 5e6588427ff349fe8a0b66f669c8d4cbeefd7dee Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Sun, 21 Feb 2021 16:25:37 +0000 Subject: [PATCH] Add buf protobuf linting --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7d0e96..ffbef48 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,3 +10,12 @@ test: - dotnet tool restore - dotnet nuke Test +protobuf-lint: + stage: test + image: + name: docker.io/bufbuild/buf:latest + entrypoint: [""] + script: + - cd api/ + - buf ls-files + - buf lint