update poetry version from 1.5.1 to 1.8.3 for github actions #27
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: code-format | |
on: [push, pull_request] | |
jobs: | |
run-isort: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- run: pipx install poetry==1.8.3 | |
- run: poetry install | |
- run: poetry run isort . | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: isort code format run | |
run-black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- run: pipx install poetry==1.8.3 | |
- run: poetry install | |
- run: poetry run black . | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: black code format run |