Skip to content
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

(chore) O3-3551: Use latest Actions in GH Actions #614

Merged
merged 7 commits into from
Jul 9, 2024
Merged

(chore) O3-3551: Use latest Actions in GH Actions #614

merged 7 commits into from
Jul 9, 2024

Conversation

Bcoderx6
Copy link

@Bcoderx6 Bcoderx6 commented Jul 4, 2024

https://openmrs.atlassian.net/browse/O3-3551

This pull request updates the GitHub Actions workflow to utilize the latest versions of several key actions, improving performance, security, and feature set. The specific updates include:

1.actions/checkout: Updated from v2 to v4.
2. actions/cache: Updated from v2 to v3.
3.actions/setup-java: Updated from v1 to v3.

Benefits:

  • Enhanced Performance: The latest versions come with performance improvements, which can speed up the workflow execution.
  • Improved Security: Newer versions include the latest security patches, reducing the risk of vulnerabilities.
  • Advanced Features: The updated actions provide additional features and improvements, such as better caching mechanisms and more robust setup options for Java.

Detailed Changes:

  1. actions/checkout@v4

    • Improved performance and reliability in fetching the repository.
    • Enhanced support for submodules and large repositories.
  2. actions/cache@v3

    • Optimized caching strategies to reduce build times.
    • Better handling of cache keys and restore-keys, ensuring more efficient cache usage.
  3. actions/setup-java@v3

    • Better support for multiple Java versions and configurations.
    • Improved caching of Java dependencies, reducing setup times.

@Bcoderx6
Copy link
Author

Bcoderx6 commented Jul 4, 2024

@jayasanka-sack! , Kindly review the updates made to the GitHub Actions workflow.

@Bcoderx6 Bcoderx6 changed the title (O3-3551): Improvement GitHub Actions - Use Latest versions of actions (chore) O3-3551: Use latest Actions in GH Actions Jul 5, 2024
Copy link
Member

@jayasanka-sack jayasanka-sack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @Bcoderx6 ! Could you please address the requested changes?

.github/workflows/maven.yml Outdated Show resolved Hide resolved
.github/workflows/maven.yml Outdated Show resolved Hide resolved
Yasindu Dissanayake and others added 2 commits July 8, 2024 22:56
Co-authored-by: Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com>
Co-authored-by: Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com>
@Bcoderx6
Copy link
Author

Bcoderx6 commented Jul 8, 2024

@jayasanka-sack ! Fine, I've done those changes.

@jayasanka-sack jayasanka-sack merged commit 57b2e5e into openmrs:master Jul 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants