Fix CI warnings and update GitHub action versions#414
Merged
p1c2u merged 2 commits intopython-openapi:masterfrom Jul 1, 2025
Merged
Fix CI warnings and update GitHub action versions#414p1c2u merged 2 commits intopython-openapi:masterfrom
p1c2u merged 2 commits intopython-openapi:masterfrom
Conversation
Dependabot doesn't appear to be submitting PRs to maintain these. However, the Dependabot config appears to be valid. There may be a setting that needs to be adjusted at the org level or at the individual repository level.
This change eliminates warnings in CI caused by the deprecation.
In addition, using the `python-version` output of the
`setup-python` action fixes a bug that prevented Windows caches
from containing the Python version.
For reference, Windows caches were created with names
that lacked the Python version, like:
```
venv-pull_request-Windows--{hash}
```
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #414 +/- ##
=======================================
Coverage 92.09% 92.09%
=======================================
Files 24 24
Lines 759 759
Branches 80 80
=======================================
Hits 699 699
Misses 42 42
Partials 18 18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
This PR introduces the following changes:
Eliminate CI warnings caused by use of the
set-output, which is deprecated. Recent example:Migrate to simply using the
python-versionoutput of thesetup-pythonaction.This fixes a bug that caused Windows caches to all be shared for lack of a Python version in the cache key. Recent example filename:
Update all GitHub actions to their latest versions.
Dependabot doesn't appear to be submitting PRs to keep GitHub actions updated (it's only submitting Python- and Docker-related PRs). This may be a setting at the org level that needs to be changed, or perhaps a setting for the individual repository.
Taken together, these changes should help ensure CI runs without warnings. The Dependabot updates need to be investigated by someone with org/repo permissions, though.