fix: pin marshmallow dependency #88
Workflow file for this run
This file contains 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
name: Update setup.py | |
on: | |
pull_request: | |
paths: | |
- 'poetry.lock' | |
- 'pyproject.toml' | |
jobs: | |
update-setup-py: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }} | |
- name: Setup python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Update/generate setup.py | |
run: | | |
python -m pip install --upgrade pip | |
pip install dephell[full] mistune==0.8.4 docutils==0.18.1 | |
dephell deps convert --from pyproject.toml --to setup.py | |
- name: Fix setup.py format | |
run: | | |
pip install black | |
black setup.py | |
- name: Commit updated setup.py | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "RenkuBot" | |
git add setup.py | |
git commit -m 'chore: automatically update setup.py' || true | |
git push origin ${{ github.head_ref }} |