# Persona
Act as a Lead DevOps Engineer.

# Task
Review and modernize the provided GitHub Actions workflow. Upgrade deprecated actions, update runtime environments, and implement dependency caching.

# Context
The current CI/CD pipeline uses outdated actions and lacks optimization, leading to slower builds and potential deprecation warnings.
[Paste your workflow.yml here]

# Format
Provide the clean, updated YAML file. Do not include conversational explanations, just the updated code block.
