-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Update Github Actions workflow to v4 #1473
Conversation
WalkthroughThe changes update the GitHub Actions workflow configuration to use newer versions of the Changes
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .github/workflows/ci-master.yml (9 hunks)
Additional comments not posted (11)
.github/workflows/ci-master.yml (11)
17-17
: Updated environment variable for clarity.The change from
ARTIFACT_DIR
toSOURCE_ARTIFACT_DIR
enhances clarity and aligns with the naming convention that explicitly states the purpose of the directory.
24-24
: Updated checkout action to v4.This update is necessary to keep the workflow compatible with the latest GitHub Actions features and to avoid deprecation issues.
40-41
: Proper use of the updated environment variable in directory operations.The script correctly uses the
SOURCE_ARTIFACT_DIR
for directory operations, ensuring that the environment variable update is consistently applied throughout the workflow.
43-46
: Updated upload-artifact action to v4 with correct environment variable usage.The action version update and the use of
SOURCE_ARTIFACT_DIR
ensure that the workflow remains up-to-date and functionally correct.
56-59
: Updated download-artifact action to v4.The update to v4 for the
download-artifact
action aligns with the necessary changes to maintain functionality post-deprecation of older versions.
90-90
: Consistent update of upload-artifact action across different jobs.The use of
actions/upload-artifact@v4
in the Linux build job ensures consistency and up-to-date functionality across the workflow.
111-111
: Updated upload-artifact action for test logs.Updating this action to v4 for handling test logs ensures that all artifact-related actions are consistent and modernized.
123-126
: Ensured consistency in artifact handling for Windows builds.The update to
actions/download-artifact@v4
and the use ofSOURCE_ARTIFACT_DIR
maintain consistency and ensure the workflow is using the latest supported actions.
153-153
: Updated upload-artifact action for Windows binaries.This update ensures that the Windows build artifacts are handled using the latest version of the upload-artifact action, maintaining consistency and avoiding deprecation issues.
165-168
: Updated download-artifact action for macOS builds.The consistent update across different platform builds ensures that all artifact downloads use the latest action version, aligning with the overall update strategy of the workflow.
194-194
: Updated upload-artifact action for macOS binaries.This final update of the upload-artifact action for macOS binaries confirms the thorough application of the necessary updates across all relevant parts of the workflow.
PR intention
Github is deprecating
actions/checkout
,download-artifact
, andupload-artifact
v1 and v2.Code changes brief
Updates
actions/checkout
,download-artifact
, andupload-artifact
to v4. This will also reduce the warnings in Actions.Closes #1459.