mirror of
https://github.com/chenasraf/text-transform.nvim.git
synced 2026-05-18 01:48:57 +00:00
ci: add status before fail
This commit is contained in:
7
.github/workflows/develop.yml
vendored
7
.github/workflows/develop.yml
vendored
@@ -41,7 +41,12 @@ jobs:
|
||||
run: make documentation-ci
|
||||
|
||||
- name: check docs diff
|
||||
run: exit $(git status --porcelain doc | wc -l | tr -d " ")
|
||||
run: |
|
||||
git status doc
|
||||
ex=$(git status --porcelain doc | wc -l | tr -d " ")
|
||||
if [[ $ex -ne 0 ]]; then git diff doc; fi
|
||||
exit $ex
|
||||
|
||||
tests:
|
||||
needs:
|
||||
- lint
|
||||
|
||||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -41,7 +41,11 @@ jobs:
|
||||
run: make documentation-ci
|
||||
|
||||
- name: check docs diff
|
||||
run: exit $(git status --porcelain doc | wc -l | tr -d " ")
|
||||
run: |
|
||||
git status doc
|
||||
ex=$(git status --porcelain doc | wc -l | tr -d " ")
|
||||
if [[ $ex -ne 0 ]]; then git diff doc; fi
|
||||
exit $ex
|
||||
|
||||
tests:
|
||||
needs:
|
||||
|
||||
Reference in New Issue
Block a user