Closed piotrowski closed 5 months ago
Could it be that your Go import path is different from your filesystem path? In that case, you may have to provide the root-package
input to the action. Note that currently, packages with a different name than their directory are not supported. More information can be found here: https://github.com/fgrosse/go-coverage-report/blob/7469ef95bb02bcdd817b88dc54f67099320d9f37/action.yml#L28-L36
Apart from that, I suggest to use a longer retention period for your code coverage artifacts because these are also used when comparing your new coverage with the baseline of your main branch. If you submit a PR after the retention time, this baseline can no longer be found and the coverage check will fail.
Thank you! root-package
helped!
Hello! I decided to try your Action, unfortunatelly for some reason it always shows
0
on every touched file.This is how I am using your action. I have this 3 steps in 1 job: