mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update pre-commit.yml
This commit is contained in:
parent
a8f7e85348
commit
6bd8f3acf2
1 changed files with 5 additions and 2 deletions
7
.github/workflows/pre-commit.yml
vendored
7
.github/workflows/pre-commit.yml
vendored
|
|
@ -4,13 +4,16 @@ 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: "3.8"
|
||||
- run: pip install pre-commit poetry
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- run: pip install pre-commit
|
||||
- run: pre-commit --version
|
||||
- run: pre-commit install
|
||||
- run: pre-commit run --all-files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue