Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: don't fetch the whole git history if it's not required #9021

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

bayandin
Copy link
Member

Problem

We do use actions/checkout with fetch-depth: 0 when it's not required

Summary of changes

  • Remove unneeded fetch-depth: 0
  • Add a comment if fetch-depth: 0 is required

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.
  • Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
  • If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

  • Do not forget to reformat commit message to not include the above checklist

Copy link
Member

@koivunej koivunej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see 24s to checkout, sounds excellent, down from 3min.

Copy link

github-actions bot commented Sep 17, 2024

4994 tests run: 4830 passed, 0 failed, 164 skipped (full report)


Flaky tests (5)

Postgres 17

Postgres 16

Code coverage* (full report)

  • functions: 32.0% (7413 of 23182 functions)
  • lines: 49.8% (59572 of 119717 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
7fa02cd at 2024-09-17T13:06:05.296Z :recycle:

@bayandin bayandin enabled auto-merge (squash) September 17, 2024 16:34
@bayandin bayandin merged commit d78f5ce into main Sep 17, 2024
84 checks passed
@bayandin bayandin deleted the bayandin/CI-less-fetch-depth-0 branch September 17, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants