diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 3bbbce923..1af579b78 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: