mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-22 07:46:25 +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:
parent
8f1ae3a8a4
commit
fb5f21f1f3
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
${{ runner.os }}-tests-
|
${{ runner.os }}-tests-
|
||||||
|
|
||||||
- name: Run 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:
|
docs-up-to-date:
|
||||||
name: Docs up to date
|
name: Docs up to date
|
||||||
|
Loading…
Reference in New Issue
Block a user