From 3ac5c17eb723915df4d1a1e9649bafe374f05ad6 Mon Sep 17 00:00:00 2001 From: kennytm Date: Tue, 13 Nov 2018 14:17:13 +0800 Subject: [PATCH] [parser] circle.yml: added a step to verify parser.go is up-to-date (#36) --- parser/circle.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/parser/circle.yml b/parser/circle.yml index 118a417f3de3c..22d0a9e3705a7 100644 --- a/parser/circle.yml +++ b/parser/circle.yml @@ -7,6 +7,12 @@ jobs: working_directory: /go/src/github.com/pingcap/parser steps: - checkout + - run: + name: "Verify parser.go is up-to-date" + command: | + mv parser.go parser.go.committed + make parser + diff -u parser.go.committed parser.go - run: name: "Build & Test" command: make test