Skip to content

fix: eliminate save-state deprecation warning#21

Merged
ulises-jeremias merged 1 commit into
mainfrom
fix/save-state-deprecation
Jun 23, 2026
Merged

fix: eliminate save-state deprecation warning#21
ulises-jeremias merged 1 commit into
mainfrom
fix/save-state-deprecation

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

Summary

Upgrades @actions/core and related @actions/* dependencies to their latest compatible versions, eliminating the deprecated save-state command warning in CI. The rebuilt dist/index.js now resolves to a @actions/core whose saveState prefers the GITHUB_STATE environment file over the deprecated save-state command.

Closes #8

Changes

  • Upgrade @actions/core ^1.6.0 -> ^1.11.1 (latest v1.x; uses environment files for saveState)
  • Upgrade @actions/cache ^4.0.0 -> ^4.1.0
  • Upgrade @actions/github ^5.0.0 -> ^5.1.1 (kept on v5 to remain CJS/ncc-compatible)
  • Upgrade @actions/tool-cache ^1.7.1 -> ^1.7.2
  • Refresh package-lock.json
  • Rebuild dist/index.js (npm run build && npm run package) so the checked-in bundle matches source (check-dist passes)

Validation

  • npm run lint
  • npm run test (14 tests, 3 files)
  • npm run build
  • npm run package
  • npm run format-check (via npm run all)

Built and validated against Node 24 (per .nvmrc).

Upgrade @actions/core and related @actions/* dependencies to their
latest compatible versions. Rebuild dist/index.js so saveState uses
the GITHUB_STATE environment file instead of the deprecated
save-state command.

Closes #8
@ulises-jeremias ulises-jeremias force-pushed the fix/save-state-deprecation branch from 9214c32 to c581e35 Compare June 23, 2026 05:17
@ulises-jeremias ulises-jeremias merged commit 05fa0cb into main Jun 23, 2026
2 checks passed
@ulises-jeremias ulises-jeremias deleted the fix/save-state-deprecation branch June 23, 2026 05:18
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.

save-state command is deprecated, causing warnings in CI

1 participant