Skip to content

Commit 30390f8

Browse files
committed
Trigger "Test Go" CI workflow on any change to test data
The unit tests don't have any test data at the moment, but it might at some point in the future and this is a standardized "template" workflow that is intended to be generally applicable to any project.
1 parent 1978deb commit 30390f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test-go-task.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- "codecov.ya?ml"
1515
- "go.mod"
1616
- "go.sum"
17+
- "**/testdata/**"
1718
pull_request:
1819
paths:
1920
- ".github/workflows/test-go-task.ya?ml"
@@ -22,6 +23,7 @@ on:
2223
- "codecov.ya?ml"
2324
- "go.mod"
2425
- "go.sum"
26+
- "**/testdata/**"
2527
workflow_dispatch:
2628
repository_dispatch:
2729

0 commit comments

Comments
 (0)