ci: increase fetch-depth to 2

Codecov apparently has trouble detecting the git commit if the
fetch depth is only 1 (the default). Therefore increase it.
See https://github.com/codecov/codecov-action/issues/190 for
more details.
This commit is contained in:
Christian Kellner 2021-03-11 10:15:50 +00:00 committed by Tom Gundersen
parent 775dceaf20
commit 99160ad369

View file

@ -21,6 +21,8 @@ jobs:
steps:
- name: "Clone Repository"
uses: actions/checkout@v2
with:
fetch-depth: 2 # codecov requires this (https://github.com/codecov/codecov-action/issues/190)
- name: "Run Tests"
uses: osbuild/containers/src/actions/privdocker@e4de123f43b95e99dfe8eed0bd5a1cd58db50715
with: