Repository navigation
v1.1.3
What's Changed?
The differences in the workflow configuration include the following changes:
-
Environment Variables Correction:
The format of the environment variables has been changed from single quotes to double quotes. -
Dependency Installation Improvements:
The installation of jq and curl has been enhanced to ensure they are only installed if missing. -
Enhanced Input Data Validation:
More detailed error messages have been added for missing required variables. -
Action Updates:
The checkout action has been updated from v2 to v4, and a new step has been added to set up the Node.js environment using actions/setup-node@v3. -
Project Type Detection:
A new section has been added to detect the project type (Node.js, Yarn-based Node, Maven, Gradle, or Python) and configure the appropriate build, test, and lint commands. -
Dependency Caching:
New steps have been introduced to prepare and cache dependencies based on the detected project type. -
Retry Function:
A new retry_command function has been defined (in a generated retry.sh script) to reattempt build and test commands in case of transient failures. -
Build, Test, and Coverage Enhancements:
Logic has been added to retry the build and test commands, and a step has been included to check the coverage summary for Node-based projects. -
Commit and PR Details Collection:
Additional steps now gather commit information and PR details (including labels and changed files). -
Improved PR Comment:
The PR comment body has been enhanced to include detailed summaries for linting, tests, and coverage, providing a more comprehensive report. -
Debug Logging:
A debug logs section has been added that will run if the DEBUG variable is set to true, offering more insights during troubleshooting.
These updates improve the workflow's robustness and functionality, making it easier to detect the project type, manage dependencies, handle transient errors, and generate detailed and informative PR comments.
Full Changelog: v1.1.2...v1.1.3