jazzband / tablib

Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
https://tablib.readthedocs.io/
MIT License
4.58k stars 589 forks source link

Fix deploy warning #531

Closed hugovk closed 1 year ago

hugovk commented 1 year ago

The deploy workflow shows this warning:

build: # >> PyPA publish to PyPI GHA: UNSUPPORTED GITHUB ACTION VERSION <<#L1 You are using "pypa/gh-action-pypi-publish@master". The "master" branch of this project has been sunset and will not receive any updates, not even security bug fixes. Please, make sure to use a supported version. If you want to pin to v1 major version, use "pypa/gh-action-pypi-publish@release/v1". If you feel adventurous, you may opt to use use "pypa/gh-action-pypi-publish@unstable/v1" instead. A more general recommendation is to pin to exact tags or commit shas.

https://github.com/jazzband/tablib/actions/runs/3664520628

So let's use v1.


Also we can make the github.repository == 'jazzband/tablib' check more generic as github.repository_owner == 'jazzband', so we can have fewer changes between Jazzband repos.

And similarly, use Python version 3.x for the latest available, instead of pinning to a specific.

codecov[bot] commented 1 year ago

Codecov Report

Merging #531 (34cfb7f) into master (4719f97) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #531   +/-   ##
=======================================
  Coverage   90.95%   90.95%           
=======================================
  Files          28       28           
  Lines        2652     2652           
=======================================
  Hits         2412     2412           
  Misses        240      240           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more