Re-enable the poetry-dynamic-versioning plugin #63
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: Style and Linters | |
on: | |
push: | |
pull_request: | |
jobs: | |
style_and_linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Python Poetry Action | |
uses: abatilo/actions-poetry@v3 | |
with: | |
poetry-version: "1.6.1" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "poetry" | |
- name: Install prerequisites | |
run: | | |
poetry install --all-extras | |
poetry self add "poetry-dynamic-versioning[plugin]" | |
- name: "Run pre-commit hooks" | |
uses: slamcore/[email protected] | |
with: | |
command_prefix: "poetry run" |