[#665] Add check if version is dirty

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-08-22 17:16:53 +03:00 committed by Alex Vanin
parent 70ed9d79d6
commit a217871334

View file

@ -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: