File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 11
11
paths :
12
12
- " .github/workflows/check-go-task.ya?ml"
13
13
- " Taskfile.ya?ml"
14
- - " go.mod"
15
- - " go.sum"
14
+ - " **/ go.mod"
15
+ - " **/ go.sum"
16
16
- " **.go"
17
17
pull_request :
18
18
paths :
19
19
- " .github/workflows/check-go-task.ya?ml"
20
20
- " Taskfile.ya?ml"
21
- - " go.mod"
22
- - " go.sum"
21
+ - " **/ go.mod"
22
+ - " **/ go.sum"
23
23
- " **.go"
24
24
workflow_dispatch :
25
25
repository_dispatch :
@@ -119,8 +119,17 @@ jobs:
119
119
run : git diff --color --exit-code
120
120
121
121
check-config :
122
+ name : check-config (${{ matrix.module.path }})
122
123
runs-on : ubuntu-latest
123
124
125
+ strategy :
126
+ fail-fast : false
127
+
128
+ matrix :
129
+ module :
130
+ - path : ./
131
+ - path : docsgen
132
+
124
133
steps :
125
134
- name : Checkout repository
126
135
uses : actions/checkout@v2
@@ -131,6 +140,7 @@ jobs:
131
140
go-version : ${{ env.GO_VERSION }}
132
141
133
142
- name : Run go mod tidy
143
+ working-directory : ${{ matrix.module.path }}
134
144
run : go mod tidy
135
145
136
146
- name : Check whether any tidying was needed
You can’t perform that action at this time.
0 commit comments