Skip to content

Bump pre-commit from 2.21.0 to 4.0.1 #235

Bump pre-commit from 2.21.0 to 4.0.1

Bump pre-commit from 2.21.0 to 4.0.1 #235

Workflow file for this run

---
name: Tests
on: [push]
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- run: pip install poetry
- uses: actions/[email protected]
id: poetry-cache
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- run: poetry install
- uses: actions/[email protected]
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- run: poetry run pre-commit run --all-files
- run: poetry run pytest