actions: run tests only if go files or templates changed

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2022-09-12 11:47:11 +02:00
parent 8f1ae3a8a4
commit fb5f21f1f3
Signed by: adphi
GPG Key ID: 46BE4062DB2397FF
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ jobs:
${{ runner.os }}-tests-
- name: Run tests
run: make tests
run: git --no-pager diff --exit-code HEAD~1 HEAD **/**.go templates/ || make tests
docs-up-to-date:
name: Docs up to date