Skip to content

Merge pull request #315 from pytoyoda/renovate/pytest-asyncio-1.x #921

Merge pull request #315 from pytoyoda/renovate/pytest-asyncio-1.x

Merge pull request #315 from pytoyoda/renovate/pytest-asyncio-1.x #921

Workflow file for this run

name: "pre-commit"
on:
workflow_call:
pull_request:
push:
branches: ["main"]
permissions:
contents: read
jobs:
pre-commit:
name: "pre-commit"
runs-on: "ubuntu-latest"
steps:
- name: "⤵️ Check out code from GitHub"
uses: "actions/checkout@v7"
- name: "🐍 Set up Python"
uses: "actions/setup-python@v6"
with:
python-version: "3.13"
- name: "⚙️ Install Poetry"
uses: "abatilo/actions-poetry@v4.0.0"
- name: "⚙️ Install dependencies"
run: "poetry install"
- name: "🚀 Run pre-commit on all files"
run: |
poetry run pre-commit run --all-files --show-diff-on-failure --color=always