Set fetch-depth to 0 for coverage jobs

This allows codecov to fetch the commit SHA

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-01-06 13:17:30 +01:00
parent a1c9b67b6b
commit 98951d26c5
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -65,6 +65,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 14 - name: Use Node.js 14
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
@ -90,6 +92,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 14 - name: Use Node.js 14
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with: