Repository navigation
ci: update GitHub Actions to Node 24 versions and add manual docs trigger - #60
Merged
Merged
Conversation
…gger Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the CI workflow updates.
No open issues 🎉
What changed in this PR
Updates the SolarFarmer SDK’s CI workflows to use Node.js 24–compatible GitHub Actions and lets maintainers start a fresh documentation deployment without pushing to main.
Changes:
- Upgrades checkout, Python/uv setup, caching, artifact handling, and Pages actions across six workflows.
- Adds
workflow_dispatchto the documentation workflow, providing an alternative to reruns that encounter duplicate Pages artifacts.
| File | Description |
|---|---|
.github/workflows/test.yml |
Updates checkout and uv setup actions for tests. |
.github/workflows/release.yml |
Updates checkout, uv setup, and release artifact upload/download actions. |
.github/workflows/pip-audit.yml |
Updates checkout and Python setup actions for dependency auditing. |
.github/workflows/lint.yml |
Updates checkout and uv setup actions for linting. |
.github/workflows/docs.yml |
Adds manual deployment and updates setup, caching, and Pages actions. |
.github/workflows/build.yml |
Updates checkout and uv setup actions for package build verification. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The PR addresses:
Node 20 deprecation: the failed docs run warned that checkout@v4, cache@v4, configure-pages@v5, deploy-pages@v4, upload-artifact@v4 and setup-uv@v4 target Node.js 20. GitHub is already forcing them onto Node 24.
Manual docs trigger: each re-run uploads another github-pages artifact into the same run, and deploy-pages fails once there are two. Docs can only be redeployed by pushing to main. workflow_dispatch lets maintainers start a fresh docs deploy from the Actions tab.