Run check-manifest to detect issues with distributed python packages.
...
steps:
- uses: actions/checkout@v2
- name: check-manifest
uses: tj-actions/check-manifest@v1
INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
---|---|---|---|---|
args | string | false | "-v" |
Arguments passed to check-manifest |
package-dir | string | false | Directory of the package | |
version | string | true | "0.46" |
Pinned version of check-manifest |
- Update the
MANIFEST.in
using the suggestions from check-manifest
...
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: actions/cache@v2
id: pip-cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-
restore-keys: |
${{ runner.os }}-pip-
- name: Run check-manifest
uses: tj-actions/check-manifest@v1
with:
package-dir: 'test_package'
args: '-u'
- name: Create Pull Request
if: failure()
uses: peter-evans/create-pull-request@v3
with:
base: "main"
title: "Updated MANIFEST.in"
branch: "chore/update-manifest-in"
commit-message: "Updated MANIFEST.in"
body: "Updated MANIFEST.in"
token: ${{ secrets.github_token }}
- Free software: MIT license
If you feel generous and want to show some extra appreciation:
- Running check-manifest against a specified package.
This package was created with Cookiecutter.
Report bugs at https://github.com/tj-actions/check-manifest/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your workflow that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.