[pre-commit.ci] pre-commit autoupdate #223
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: QA | |
env: | |
CI_FORCE_COLORS_PRE_COMMIT: --color always | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
push: | |
tags: | |
- "!*" | |
branches: | |
- main | |
- "test-me-*" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
build: | |
name: Run QA Tools | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: Display Python version | |
run: python --version | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install tox | |
run: python -m pip install --upgrade tox | |
- name: Install poetry | |
run: python -m pip install --upgrade poetry>=1.2 | |
- name: Run pre-commit with tox | |
run: tox -e pre-commit-run |