Skip to content

Commit

Permalink
ci: Shallow clone "codecov.yml" for coverage uploads (#27973)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Mar 17, 2024
1 parent a5167f5 commit b29b012
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -38,7 +38,6 @@ env:
tools/
package.json
pnpm-lock.yaml
codecov.yml
jobs:
setup:
Expand Down Expand Up @@ -153,6 +152,7 @@ jobs:
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
sparse-checkout: ${{ env.SPARSE_CHECKOUT }}
filter: blob:none # we don't need all blobs

- name: Setup Node.js
if: needs.setup.outputs.os-matrix-is-full && runner.os != 'Linux'
Expand Down Expand Up @@ -379,6 +379,12 @@ jobs:
timeout-minutes: 3
if: (success() || failure()) && github.event.pull_request.draft != true
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
sparse-checkout: codecov.yml
filter: blob:none # we don't need all blobs

- name: Download coverage reports
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
Expand Down

0 comments on commit b29b012

Please sign in to comment.