mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
19 lines
571 B
YAML
19 lines
571 B
YAML
# https://pre-commit.com
|
|
# This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file.
|
|
name: pre-commit
|
|
on: [pull_request, push]
|
|
jobs:
|
|
pre-commit:
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- run: pip install pre-commit
|
|
- run: pre-commit --version
|
|
- run: pre-commit install
|
|
- run: pre-commit run --all-files
|