8000 Update GitHub Workflows and Actions by ZeliardM · Pull Request #1622 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@ZeliardM
Copy link
Contributor
@ZeliardM ZeliardM commented Dec 8, 2025

This PR is to update the GitHub Workflows and Actions to resolve residual warnings and errors and using the latest versions available.

Copilot AI review requested due to automatic review settings December 8, 2025 19:03
@codecov
Copy link
codecov bot commented Dec 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.82%. Comparing base (a87926f) to head (5e53ce5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1622   +/-   ##
=======================================
  Coverage   92.82%   92.82%           
=======================================
  Files         157      157           
  Lines        9649     9649           
  Branches      976      976           
=======================================
  Hits         8957     8957           
  Misses        492      492           
  Partials      200      200           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Workflows and Actions to use newer versions and standardize formatting conventions. The changes aim to resolve warnings and errors by upgrading action versions, adding YAML document separators, standardizing step naming to Title Case, and adding ID fields to workflow steps.

Key Changes:

  • Updates action versions including actions/checkout, actions/setup-python, astral-sh/setup-uv, actions/stale, github/codeql-action, and codecov/codecov-action
  • Standardizes YAML formatting with document separators (---) and consistent step naming conventions
  • Adds ID fields to workflow steps for better referenceability and maintainability

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/workflows/stale.yml Updates actions/stale to v10, standardizes step names to Title Case, adds step IDs
.github/workflows/publish.yml Updates UV_VERSION to 0.9.16, PYTHON_VERSION to 3.13, upgrades actions/checkout, astral-sh/setup-uv, and actions/setup-python, adds step IDs
.github/workflows/codeql-analysis.yml Updates github/codeql-action to v4, actions/checkout to v6, adds step IDs and standardizes naming
.github/workflows/ci.yml Updates UV_VERSION to 0.9.16, upgrades actions/checkout to v6 and codecov/codecov-action to v5, renames 'linting' job to 'lint', adds step IDs
.github/actions/setup/action.yaml Updates default uv-version to 0.9.16, upgrades astral-sh/setup-uv to v7 and actions/setup-python to v6, adds step IDs and standardizes naming

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ZeliardM
Copy link
Contributor Author
ZeliardM commented Dec 8, 2025

@rytilahti I changed the name on one of the Workflow Jobs here and that is why I believe the following never runs:
Perform linting checks (3.13)
Perform linting checks (3.13)Expected — Waiting for status to be reported

The new Job:
Perform Lint Checks (3.13)

This may need to be updated to remove the old one as required and set the new one as required.

This job now runs correctly along with removing all of the warnings about caches from the uv setup action job after updating to the latest v7 version for uv.

@ZeliardM
Copy link
Contributor Author

@rytilahti This should be good to go as well, just need to update the Required Workflow check at the beginning.

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

0