Checkout
- check_circleLossless
actions/checkout
From: GitHub Actions
Check out the repository onto the runner.
GitLab CI
# GitLab CI checks out the repository automatically. # fetch-depth → set GIT_DEPTH variable; lfs → set GIT_LFS_SKIP_SMUDGE=0
CircleCI
uses: checkout
Bitbucket Pipelines
# Bitbucket Pipelines clones the repository automatically. # fetch-depth → use clone.depth in pipelines.yml
Caveats: fetch-depth, submodules, and lfs need explicit configuration on each target platform.
Source docs open_in_new - check_circleLossless
checkout
From: CircleCI
CircleCI built-in checkout.
Source docs open_in_newGitHub Actions
uses: actions/checkout@v4
GitLab CI
# GitLab CI checks out automatically.
Bitbucket Pipelines
# Bitbucket Pipelines clones automatically.