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

Update the actions' version #6

Merged

Conversation

guidomodarelli
Copy link

@guidomodarelli guidomodarelli commented Nov 7, 2024

Description

Several warnings are generated when executing GitHub Workflows, primarily due to the utilization of deprecated versions of GitHub Actions. Upgrading to the latest version resolves these warnings and is a straightforward process.

Issues Resolved

Closes wazuh/wazuh-dashboard#345

Evidence

Here is why I removed the filter option.

image

5ff69e4#diff-f258144e908ac90eebcd80eeb5191a1007b50b9c0ca74325497c2e8d4e666f99L87-L89

5ff69e4#diff-ce491377e1248da0574b2312a9960bc2bc35a6e828452954b56176e1347354edL87-L89

Changelog

  • chore: update the actions' version accordingly.

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@guidomodarelli guidomodarelli self-assigned this Nov 7, 2024
…ieval settings for improved flexibility in workflows
…kflows for improved reliability in OpenSearch download
…r improved reliability in OpenSearch artifact downloads
…ypress and ftr workflows to avoid redundant downloads
…g OpenSearch artifacts in cypress and ftr workflows
…press and ftr workflows by removing existence checks
…in dashboards reports test and build workflow
…ng in dashboards reports test and build workflow
…rd setup in binary installation verification workflow
@yenienserrano
Copy link
Member

The issue it says to update the GitHub actions but I see that you are updating all of them, was this for some reason?

@guidomodarelli
Copy link
Author

The issue it says to update the GitHub actions but I see that you are updating all of them, was this for some reason?

Since I'm modifying the versions, I checked all the files to take advantage of the opportunity

Copy link
Member

@yenienserrano yenienserrano left a comment

Choose a reason for hiding this comment

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

LGTM

@asteriscos asteriscos merged commit 1164c4b into master Nov 8, 2024
7 of 11 checks passed
@Tostti Tostti deleted the change/345-use-of-deprecated-actions-on-gh-workflows branch November 12, 2024 14:40
Tostti pushed a commit that referenced this pull request Dec 16, 2024
* Update GitHub Actions to use checkout@v4 for consistency and improved functionality across workflows

* Downgrade actions/checkout from v4 to v3 for consistent versioning across Cypress and FTR workflows

* Update actions/checkout to v4 in workflows

* Downgrade actions/checkout from v4 to v3 in Cypress and FTR workflows for consistent versioning and setup

* Update actions/upload-artifact to v4 and enable overwrite for GitHub artifact uploads

* Update actions/setup-node to v4 across all workflows to ensure consistency and benefit from latest features

* Update tibdex/github-app-token to v2.1.0 and adjust installation retrieval settings for improved flexibility in workflows

* Update actions/setup-java to v4 in cypress and ftr workflows for consistency and access to latest improvements

* Update suisei-cn/actions-download-file to v1.6.0 in cypress and ftr workflows for consistent artifact management

* Add 'temurin' distribution to JDK setup in cypress and ftr workflows for improved consistency

* Upgrade download-file action to v3 in cypress and ftr workflows for enhanced performance and consistency

* Replace download-file action with wget command in cypress and ftr workflows for improved reliability in OpenSearch download

* Replace download-file action with wget command in cypress workflow for improved reliability in OpenSearch artifact downloads

* Check for existing files before downloading OpenSearch artifacts in cypress and ftr workflows to avoid redundant downloads

* Adjust existence check to directories instead of files for downloading OpenSearch artifacts in cypress and ftr workflows

* Refactor artifact download logic to ensure consistent execution in cypress and ftr workflows by removing existence checks

* Update retry action version to v2.9.0 for OpenSearch Dashboards plugin bootstrap and test in workflows

* Fix retry action reference in workflows to use single '@' for v2.9.0 in dashboards reports test and build workflow

* Update codecov action version to v4.6.0 for improved coverage reporting in dashboards reports test and build workflow

* Streamline mkdir usage in workflows by removing redundant checks for plugin-artifacts directory creation

* Downgrade codecov action to v3 to address compatibility issues in dashboards reports test and build workflow

* Upgrade release-drafter action to v6 for better draft release notes handling in workflows

* Upgrade start-opensearch action to v6 for enhanced functionality in binary installation verification workflow

* Upgrade setup-opensearch-dashboards action to v3 for improved dashboard setup in binary installation verification workflow

* Upgrade actions/checkout to v4 for enhanced functionality in Cypress and FTR E2E reporting test workflows
Tostti added a commit that referenced this pull request Dec 16, 2024
* Update GitHub Actions to use checkout@v4 for consistency and improved functionality across workflows

* Downgrade actions/checkout from v4 to v3 for consistent versioning across Cypress and FTR workflows

* Update actions/checkout to v4 in workflows

* Downgrade actions/checkout from v4 to v3 in Cypress and FTR workflows for consistent versioning and setup

* Update actions/upload-artifact to v4 and enable overwrite for GitHub artifact uploads

* Update actions/setup-node to v4 across all workflows to ensure consistency and benefit from latest features

* Update tibdex/github-app-token to v2.1.0 and adjust installation retrieval settings for improved flexibility in workflows

* Update actions/setup-java to v4 in cypress and ftr workflows for consistency and access to latest improvements

* Update suisei-cn/actions-download-file to v1.6.0 in cypress and ftr workflows for consistent artifact management

* Add 'temurin' distribution to JDK setup in cypress and ftr workflows for improved consistency

* Upgrade download-file action to v3 in cypress and ftr workflows for enhanced performance and consistency

* Replace download-file action with wget command in cypress and ftr workflows for improved reliability in OpenSearch download

* Replace download-file action with wget command in cypress workflow for improved reliability in OpenSearch artifact downloads

* Check for existing files before downloading OpenSearch artifacts in cypress and ftr workflows to avoid redundant downloads

* Adjust existence check to directories instead of files for downloading OpenSearch artifacts in cypress and ftr workflows

* Refactor artifact download logic to ensure consistent execution in cypress and ftr workflows by removing existence checks

* Update retry action version to v2.9.0 for OpenSearch Dashboards plugin bootstrap and test in workflows

* Fix retry action reference in workflows to use single '@' for v2.9.0 in dashboards reports test and build workflow

* Update codecov action version to v4.6.0 for improved coverage reporting in dashboards reports test and build workflow

* Streamline mkdir usage in workflows by removing redundant checks for plugin-artifacts directory creation

* Downgrade codecov action to v3 to address compatibility issues in dashboards reports test and build workflow

* Upgrade release-drafter action to v6 for better draft release notes handling in workflows

* Upgrade start-opensearch action to v6 for enhanced functionality in binary installation verification workflow

* Upgrade setup-opensearch-dashboards action to v3 for improved dashboard setup in binary installation verification workflow

* Upgrade actions/checkout to v4 for enhanced functionality in Cypress and FTR E2E reporting test workflows

Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>
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.

Use of deprecated Actions on GH Workflows
3 participants