@@ -141,7 +141,7 @@ jobs:
141141 - name : upload coverage artefact
142142 # We can only use -test.gocoverdir for Go >= 1.20.
143143 if : ${{ matrix.go-version != '1.18' && matrix.go-version != '1.19' }}
144- uses : actions/upload-artifact@v4
144+ uses : actions/upload-artifact@v5
145145 with :
146146 name : coverage-${{ runner.os }}-${{ github.job }}-${{ strategy.job-index }}
147147 path : ${{ env.GOCOVERDIR }}
@@ -204,7 +204,7 @@ jobs:
204204 - name : upload coverage artefact
205205 # We can only use -test.gocoverdir for Go >= 1.20.
206206 if : ${{ matrix.go-version != '1.18' && matrix.go-version != '1.19' }}
207- uses : actions/upload-artifact@v4
207+ uses : actions/upload-artifact@v5
208208 with :
209209 name : coverage-${{ runner.os }}-${{ github.job }}-${{ strategy.job-index }}
210210 path : ${{ env.GOCOVERDIR }}
@@ -286,7 +286,7 @@ jobs:
286286 - name : upload coverage artefact
287287 # We can only use -test.gocoverdir for Go >= 1.20.
288288 if : ${{ matrix.go-version != '1.18' && matrix.go-version != '1.19' }}
289- uses : actions/upload-artifact@v4
289+ uses : actions/upload-artifact@v5
290290 with :
291291 name : coverage-${{ runner.os }}-${{ github.job }}-${{ strategy.job-index }}
292292 path : ${{ env.GOCOVERDIR }}
@@ -331,12 +331,12 @@ jobs:
331331 go tool covdata textfmt -i "$GOCOVERDIRS" -o "$FULLCOVERAGE_FILE"
332332 go tool cover -html="$FULLCOVERAGE_FILE" -o "$FULLCOVERAGE_FILE.html"
333333 - name : upload merged coverage
334- uses : actions/upload-artifact@v4
334+ uses : actions/upload-artifact@v5
335335 with :
336336 name : fullcoverage-${{ github.job }}
337337 path : ${{ env.FULLCOVERAGE_FILE }}
338338 - name : upload coverage html
339- uses : actions/upload-artifact@v4
339+ uses : actions/upload-artifact@v5
340340 with :
341341 name : fullcoverage-${{ github.job }}.html
342342 path : ${{ env.FULLCOVERAGE_FILE }}.html
0 commit comments