Skip to content

Fix CI action deprecation warnings - #4

Merged
bongiozzo merged 1 commit into
mainfrom
fix/ci-node24-actions
Jun 6, 2026
Merged

Fix CI action deprecation warnings#4
bongiozzo merged 1 commit into
mainfrom
fix/ci-node24-actions

Conversation

@gnezim

@gnezim gnezim commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update CI JavaScript actions to Node 24-capable releases: actions/checkout@v6, actions/setup-python@v6, and astral-sh/setup-uv@v8.2.0.
  • Set Git's initial default branch config in the CI job environment so checkout no longer emits the master default-branch hint during git init.

Root Cause

The referenced run passed, but its logs had two warning sources:

  • GitHub Actions warned that Node.js 20 actions are deprecated for actions/checkout@v4, actions/setup-python@v5, and astral-sh/setup-uv@v5.
  • Checkout's git init emitted Git's default-branch-name hint because init.defaultBranch was not configured in the job environment.

Verification

  • Confirmed replacement action manifests declare runs.using: node24 via gh api.
  • Reproduced locally that GIT_CONFIG_COUNT / init.defaultBranch=main suppresses Git's default-branch hint.
  • uv sync --frozen
  • git diff --check
  • uv run ruff check .
  • uv run pytest --tb=short -q (267 passed)

@bongiozzo
bongiozzo merged commit 065cf08 into main Jun 6, 2026
2 checks passed
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.

2 participants