Skip to content

Improve interactive prompts. #65

Improve interactive prompts.

Improve interactive prompts. #65

Workflow file for this run

name: Pre-commit hooks
on:
pull_request:
branches:
- develop
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11.9'
- name: Cache pre-commit environments
id: cache-pre-commit
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
${{ runner.os }}-pre-commit-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pip-tools
pip-compile -o requirements.txt pyproject.toml
pip install --requirement requirements.txt
- name: Run pre-commit hooks
run: pre-commit run --all-files