Skip to content

Conversation

ramazansancar
Copy link
Collaborator

  • Upgrade actions/cache from v2 to v4 (v2 will be retired March 1, 2025)
  • Upgrade actions/checkout from v2 to v4
  • Upgrade actions/setup-node from v1/v2 to v4
  • Upgrade styfle/cancel-workflow-action from 0.9.0 to 0.12.0
  • Update Node.js version from 18.x to 20.x for better compatibility

This addresses the GitHub Actions deprecation notice about actions/cache v1-v2 closing down on March 1st, 2025. Brownouts are scheduled for February 4, 11, and 18.

Refs: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/

- Upgrade actions/cache from v2 to v4 (v2 will be retired March 1, 2025)
- Upgrade actions/checkout from v2 to v4
- Upgrade actions/setup-node from v1/v2 to v4
- Upgrade styfle/cancel-workflow-action from 0.9.0 to 0.12.0
- Update Node.js version from 18.x to 20.x for better compatibility

This addresses the GitHub Actions deprecation notice about actions/cache v1-v2
closing down on March 1st, 2025. Brownouts are scheduled for February 4, 11, and 18.

Refs: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates deprecated GitHub Actions to prevent March 2025 failures when v1-v2 versions are retired. The changes ensure the CI pipeline continues working after the deprecation deadline.

  • Upgrades core GitHub Actions from v1/v2 to v4 (checkout, setup-node, cache)
  • Updates styfle/cancel-workflow-action from 0.9.0 to 0.12.0
  • Bumps Node.js version from 18.x to 20.x for better compatibility

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ramazansancar ramazansancar enabled auto-merge (squash) August 27, 2025 13:09
@ramazansancar
Copy link
Collaborator Author

Check pls @smeijer

@ramazansancar ramazansancar merged commit 452ae19 into main Sep 12, 2025
8 checks passed
@ramazansancar ramazansancar deleted the chore/upgrade-deprecated-github-actions-cache-v2-to-v4 branch September 12, 2025 14:31
@smeijer
Copy link
Owner

smeijer commented Sep 12, 2025

Thanks!

@smeijer
Copy link
Owner

smeijer commented Sep 12, 2025

🎉 This PR is included in version 4.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants