Upgrade GitHub Actions checkout from v2 to v4
Description
Activity
Show:

Jayasanka Weerasinghe July 24, 2024 at 1:28 PM

bcoder96 July 16, 2024 at 2:22 PM
sure let's streamline the process by reusing the original ticket number

bcoder96 July 16, 2024 at 2:20 PM

bcoder96 July 16, 2024 at 2:19 PM

bcoder96 July 16, 2024 at 2:18 PM
Fixed
Details
Assignee
bcoder96bcoder96Reporter
bcoder96bcoder96Designated Committer
Jayasanka WeerasingheJayasanka WeerasinghePriority
Should
Details
Details
Assignee

Reporter

Designated Committer

Priority
Created July 4, 2024 at 12:59 PM
Updated July 24, 2024 at 1:29 PM
Resolved July 24, 2024 at 1:29 PM
Background:
The current workflow in the distro repository utilizes
actions/checkout@v2
with Node.js 12.Objective:
Upgrade the workflow to leverage
actions/checkout@v4
for enhanced performance and security.Changes to be Made:
Update the workflow configuration to replace
actions/checkout@v2
withactions/checkout@v4
.Implementation Steps:
Locate the
.github/workflows/build-test.yml
file.Modify the
uses: actions/checkout@v2
line touses: actions/checkout@v4
.Validate the successful execution of the updated workflow without errors.
Rationale:
Node.js 16 offers superior performance and enhanced security compared to Node.js 12.
The update ensures compatibility with the latest GitHub features.
Maintains backward compatibility with existing workflow configurations.
Provides customizable Git configuration options.
Improves error handling and supports efficient handling of large repositories.
Introduces support for shallow cloning.
Incorporates feedback from the GitHub community to enhance usability and reliability.