Update CI and pre-commit

This commit is contained in:
Tulir Asokan 2024-03-07 16:25:12 +02:00
parent 4184280d4e
commit 3f2887d67f
5 changed files with 14 additions and 11 deletions

View file

@ -6,16 +6,17 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: isort/isort-action@master
with:
sortPaths: "./maubot"
- uses: psf/black@stable
with:
src: "./maubot"
version: "24.2.0"
- name: pre-commit
run: |
pip install pre-commit