Skip to content

Bump actions/checkout from 4 to 5 #4984

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

Merged
merged 2 commits into from
Aug 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-test-distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
vs19_vcpkg_version: ${{ needs.config.outputs.vs19_vcpkg_version }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Download NuGet Windows Patch Archive
uses: actions/download-artifact@v5
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
- macos-build-test
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Download All Developer Distributives
uses: actions/download-artifact@v5
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Download runners' system stats
uses: actions/download-artifact@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
echo $AWS_INSTANCE_TYPE

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Collect runner's system stats
if: ${{ inputs.internal_build }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-linux-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
echo $AWS_INSTANCE_TYPE

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Collect runner's system stats
if: ${{ inputs.internal_build }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
contents: read # This is required for actions/checkout
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-ubuntu-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
echo $AWS_INSTANCE_TYPE

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Collect runner's system stats
if: ${{ inputs.internal_build }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-ubuntu-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: echo "Building on ${{ matrix.os }} with ${{ matrix.compiler }} in ${{ matrix.config }} mode"

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Collect runner's system stats
if: ${{ inputs.internal_build }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:

- name: Checkout full history
if: ${{ env.upload_artifacts == 'true' }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pip-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
version_tag: ${{ steps.get-latest-tag.outputs.tag }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

# Disabling this with an `if:` results in `steps.get-latest-tag.outputs.tag` being empty.
# Passing that to `ref:` makes it default to the current commit, which is exactly what we need.
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
fi

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
contents: read # This is required for actions/checkout
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive
ref: ${{needs.setup.outputs.version_tag}}
Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:
brewpath: /opt/homebrew
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive
ref: ${{needs.setup.outputs.version_tag}}
Expand Down Expand Up @@ -484,7 +484,7 @@ jobs:
PYTHON_CMD: python${{ matrix.py-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down Expand Up @@ -530,7 +530,7 @@ jobs:
py-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down Expand Up @@ -594,7 +594,7 @@ jobs:
py-cmd: "python3.13"
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prepare-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
fi

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: docker system prune --force --all --volumes

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Login to DockerHub
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
vcpkg.exe integrate install

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-body-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Determine latest release tag
id: latest_release
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
version_tag: ${{ steps.get-latest-tag.outputs.tag }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
py-cmd: "python3.11"
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
py-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
py-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sign-upload-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- name: Checkout
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: actions-ecosystem/action-get-latest-tag@v1
if: ${{ github.event_name != 'workflow_dispatch' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{needs.setup.outputs.version_tag}}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-app-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
file-path-end: _ubuntu22-dev.deb
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Get latests release
id: get_release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-docs-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fi

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Checkout third-party submodules
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
version: "1.11.0"

- name: Checkout MeshLib
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: 'MeshLib/'

- name: Checkout Doxygen Data
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'MeshInspector/MeshInspector.github.io'
path: 'MeshInspector.github.io/'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vcpkg-auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: "master"

Expand Down
Loading