Update workflow actions to current major versions#241
Conversation
Agent-Logs-Url: https://github.com/Sp3EdeR/huroutes/sessions/7c6d4b80-c8d7-431e-9b9d-b958b6dd0df5 Co-authored-by: Sp3EdeR <22780322+Sp3EdeR@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates this repo’s GitHub Actions workflows to use newer action versions and switches Python script execution to isolated virtual environments (avoiding sudo pip install on ubuntu-latest).
Changes:
- Updated workflow action references (e.g.,
actions/checkout,actions/setup-python,github/codeql-action) to newer major versions. - Replaced global
pipinstalls with per-job/per-run virtual environments for the database validation and website build Python scripts. - Refactored the composite
build-websiteaction to provision a single venv and reuse it across steps.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/huroutes-static-tests.yml | Updates checkout/CodeQL actions and runs DB validation via a Python venv. |
| .github/workflows/deploy-website-build.yml | Adds Python setup before running the website build composite action; updates checkout. |
| .github/workflows/deploy-pr-preview.yml | Adds Python setup before running the website build composite action; updates checkout. |
| .github/actions/build-website/action.yml | Replaces sudo pip install with a venv and reuses a single interpreter for both Python build steps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the repository’s GitHub Actions workflows to newer major versions and makes Python-based workflow steps safer/reproducible on ubuntu-latest by avoiding system-wide pip installs.
Changes:
- Bumps
actions/checkout,actions/setup-python, and CodeQL workflow actions to newer major versions. - Replaces
sudo pip install ...with per-job virtual environments for running the repo’s Python scripts. - Updates the website build composite action to run optimization and curve-map generation via a shared venv Python.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/huroutes-static-tests.yml |
Updates checkout/CodeQL actions, adds Python setup, runs DB validation inside a venv. |
.github/workflows/deploy-website-build.yml |
Adds Python setup prior to invoking the site build composite action; updates checkout action. |
.github/workflows/deploy-pr-preview.yml |
Adds Python setup prior to invoking the site build composite action; updates checkout action. |
.github/actions/build-website/action.yml |
Switches from global sudo pip install to an isolated venv and reuses that interpreter across steps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Agent-Logs-Url: https://github.com/Sp3EdeR/huroutes/sessions/1b7d3a9a-3374-460b-8ee4-b66235ad823d Co-authored-by: Sp3EdeR <22780322+Sp3EdeR@users.noreply.github.com>
|
Uh oh!
There was an error while loading. Please reload this page.