From a2178713347a64bc4daf80036d7342961e43d499 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Mon, 22 Aug 2022 17:16:53 +0300 Subject: [PATCH] [#665] Add check if version is dirty Signed-off-by: Denis Kirillov --- .github/workflows/builds.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 3bbbce9..1af579b 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - master - types: [opened, synchronize] + types: [ opened, synchronize ] paths-ignore: - '**/*.md' @@ -38,6 +38,9 @@ jobs: - name: Build CLI run: make + - name: Check version + run: if [[ $(make version) == *"dirty"* ]]; then exit 1; fi + - name: Save binary uses: actions/upload-artifact@v2 with: