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 1111 paths :
1212 - " .github/workflows/check-go-task.ya?ml"
1313 - " Taskfile.ya?ml"
14- - " go.mod"
15- - " go.sum"
14+ - " **/ go.mod"
15+ - " **/ go.sum"
1616 - " **.go"
1717 pull_request :
1818 paths :
1919 - " .github/workflows/check-go-task.ya?ml"
2020 - " Taskfile.ya?ml"
21- - " go.mod"
22- - " go.sum"
21+ - " **/ go.mod"
22+ - " **/ go.sum"
2323 - " **.go"
2424 workflow_dispatch :
2525 repository_dispatch :
@@ -119,8 +119,17 @@ jobs:
119119 run : git diff --color --exit-code
120120
121121 check-config :
122+ name : check-config (${{ matrix.module.path }})
122123 runs-on : ubuntu-latest
123124
125+ strategy :
126+ fail-fast : false
127+
128+ matrix :
129+ module :
130+ - path : ./
131+ - path : docsgen
132+
124133 steps :
125134 - name : Checkout repository
126135 uses : actions/checkout@v2
@@ -131,6 +140,7 @@ jobs:
131140 go-version : ${{ env.GO_VERSION }}
132141
133142 - name : Run go mod tidy
143+ working-directory : ${{ matrix.module.path }}
134144 run : go mod tidy
135145
136146 - name : Check whether any tidying was needed
You can’t perform that action at this time.
0 commit comments