File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,8 +210,14 @@ jobs:
210210 - test
211211 - e2e
212212 steps :
213+ # codecov won't process the report without the source code available
214+ - name : Checkout
215+ uses : actions/checkout@v3
213216 - name : Set up Go
214217 uses : actions/setup-go@v4
218+ with :
219+ go-version-file : ' go.mod'
220+ check-latest : true
215221 - name : Download unit test coverage
216222 uses : actions/download-artifact@v3
217223 with :
@@ -231,11 +237,6 @@ jobs:
231237 name : go-covdata-txt
232238 path : ./coverage.txt
233239 if-no-files-found : error
234- - name : Delete binary coverage data
235- # despite having with.files, codecov generates a mangled report with
236- # data from the binary coverage files mixed in, so delete it first
237- run : |
238- rm -rf ./coverage/
239240 - name : Upload coverage to Codecov
240241 uses : codecov/codecov-action@v3
241242 with :
You can’t perform that action at this time.
0 commit comments