2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-25 09:06:24 +00:00

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

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