14
14
- cron : ' 42 23 * * 5'
15
15
16
16
concurrency :
17
- group : ${{ github.workflow }}-${{ github.ref }}
17
+ group : ' ${{ github.workflow }}-${{ github.ref }}'
18
18
cancel-in-progress : true
19
19
20
20
env :
@@ -111,9 +111,9 @@ jobs:
111
111
- name : Artifact reports
112
112
if : ${{ ! cancelled() }}
113
113
# see https://github.com/actions/upload-artifact
114
- uses : actions/upload-artifact@v3
114
+ uses : actions/upload-artifact@v4
115
115
with :
116
- name : ${{ env.TESTS_REPORTS_ARTIFACT }}
116
+ name : ' ${{ env.TESTS_REPORTS_ARTIFACT }}_${{ matrix.os}}_php${{ matrix.php }}_${{ matrix.dependencies }} '
117
117
path : ${{ env.REPORTS_DIR }}
118
118
if-no-files-found : error
119
119
report-coverage :
@@ -124,14 +124,16 @@ jobs:
124
124
steps :
125
125
- name : fetch test artifacts
126
126
# see https://github.com/actions/download-artifact
127
- uses : actions/download-artifact@v3
127
+ uses : actions/download-artifact@v4
128
128
with :
129
- name : ${{ env.TESTS_REPORTS_ARTIFACT }}
129
+ pattern : ' ${{ env.TESTS_REPORTS_ARTIFACT }}_*'
130
+ merge-multiple : true
130
131
path : ${{ env.REPORTS_DIR }}
131
132
- name : Run codacy-coverage-reporter
132
133
env :
133
134
CODACY_PROJECT_TOKEN : ${{ secrets.CODACY_PROJECT_TOKEN }}
134
- if : ${{ env.CODACY_PROJECT_TOKEN != '' }} # # see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-secrets
135
+ # # see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-secrets
136
+ if : ${{ env.CODACY_PROJECT_TOKEN != '' }}
135
137
# see https://github.com/codacy/codacy-coverage-reporter-action
136
138
uses : codacy/codacy-coverage-reporter-action@v1
137
139
with :
@@ -205,9 +207,9 @@ jobs:
205
207
- name : Artifact reports
206
208
if : ${{ ! cancelled() }}
207
209
# see https://github.com/actions/upload-artifact
208
- uses : actions/upload-artifact@v3
210
+ uses : actions/upload-artifact@v4
209
211
with :
210
- name : ${{ env.TYPES_REPORTS_ARTIFACT }}
212
+ name : ' ${{ env.TYPES_REPORTS_ARTIFACT }}_php${{ matrix.php }}_${{ matrix.dependencies }} '
211
213
path : ${{ env.REPORTS_DIR }}
212
214
if-no-files-found : error
213
215
composer-unused :
0 commit comments