Skip to content

Update GitHub Actions to Node 24 majors and Python 3.9 - #43

Merged
slesaad merged 2 commits into
fix/validate-path-traversal-vdp2966from
fix/ci-node20-python38-deprecation
Jul 23, 2026
Merged

Update GitHub Actions to Node 24 majors and Python 3.9#43
slesaad merged 2 commits into
fix/validate-path-traversal-vdp2966from
fix/ci-node20-python38-deprecation

Conversation

@slesaad

@slesaad slesaad commented Jul 23, 2026

Copy link
Copy Markdown
Member

Problem

The lint workflow is failing:

Error: Version 3.8 with arch x64 not found

ubuntu-latest runners no longer ship Python 3.8, and the older action majors (@v1/@v2) run on the now-deprecated Node 20.

Changes

  • lint.ymlsetup-python@v1 (3.8) → @v6 (3.9, matching the Lambda runtime and the deploy workflows); checkout@v2@v5; wearerequired/lint-action@v1@v2.
  • deploy.yml / update_pyquarc.ymlcheckout@v2@v5, configure-aws-credentials@v1@v4, setup-python@v2@v6.
  • deploy.ymlsetup-node@v2@v5, and bump the CDK build Node from the EOL 14.15.1 to 20 LTS.

All three workflow files parse as valid YAML.

🤖 Generated with Claude Code

slesaad added 2 commits July 23, 2026 15:00
The runners dropped Python 3.8, so the lint workflow failed with
"Version 3.8 with arch x64 not found", and the older action majors run
on the now-deprecated Node 20.

- lint.yml: setup-python@v1 (3.8) -> @v6 (3.9), matching the Lambda
  runtime and the deploy workflows; checkout@v2 -> @v5;
  wearerequired/lint-action@v1 -> @v2.
- deploy.yml / update_pyquarc.yml: checkout@v2 -> @v5,
  configure-aws-credentials@v1 -> @v4, setup-python@v2 -> @v6.
- deploy.yml: setup-node@v2 -> @v5 and bump the CDK build Node from the
  EOL 14.15.1 to 20 LTS.
The lint workflow flagged pre-existing issues in the deploy package:

- flake8 F401: remove unused DockerImage import in stack.py.
- black: reformat the BundlingOptions command list onto separate lines
  and drop the extra blank line in app.py.

All 8 tracked Python files now pass `black --check --line-length 100`
and `flake8`.
@slesaad
slesaad changed the base branch from staging to fix/validate-path-traversal-vdp2966 July 23, 2026 20:30
@slesaad
slesaad merged commit 3ae8a81 into fix/validate-path-traversal-vdp2966 Jul 23, 2026
3 checks passed
@slesaad slesaad mentioned this pull request Jul 28, 2026
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.

1 participant