Skip to content

Build: Bump actions/checkout from 4 to 5 #3514

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Determine release version, type and prerelease variables
run: ./.github/autobuild/get_build_vars.py
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
git config --global --add safe.directory "${GITHUB_WORKSPACE}"

- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
# only Android needs the oboe submodule, so don't fetch it for other builds
submodules: ${{ matrix.config.target_os == 'android' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bump-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
local_version_regex: (.*["\/]asiosdk_)([^"]+?)(".*|\.zip.*)

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ssh-key: ${{ secrets.BUMP_DEPENDENCIES_SSH_DEPLOY_KEY || 'fail-due-to-missing-ssh-key-as-secret' }}
fetch-depth: '0' # we create/compare new branches and therefore require full history
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
# This job runs via pull_request_target. Please check for any security
# consequences when extending these steps:
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
- uses: actions/checkout@v4
- uses: actions/checkout@v5
# this checks out the upstream `main` and not the PR branch; this is fine for us
# as we just need a proper config for git/gh to work with.
- env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-json-rpcs-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
check-json-rpc-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: ./tools/generate_json_rpc_docs.py
- run: |
[[ -z "$(git status --porcelain=v1)" ]] && exit 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coding-style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# The clangFormatVersion is based on Ubuntu current LTS (jammy at time of writing).
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check .cpp/.h/.mm with clang-format
uses: DoozyX/clang-format-lint-action@bcb4eb2cb0d707ee4f3e5cc3b456eb075f12cf73
with:
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
# shellcheck is already pre-installed on ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check .sh with shellcheck
run: find -name '*.sh' -not -path './libs/*' -exec shellcheck --shell=bash {} +
- name: Install shfmt
Expand All @@ -56,7 +56,7 @@ jobs:
name: Verify Python coding style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Install pylint
run: pip install --user "pylint < 3.0"
- name: Check Python files with pylint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/translation-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Check Windows installer translations"
run: ./tools/check-wininstaller-translations.sh
#- name: "Check for duplicate hotkeys (will not fail)"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-copyright-notices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: ./tools/update-copyright-notices.sh
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- env:
pr_branch: ${{ github.event.pull_request.head.ref }}
run: |
Expand Down