Raffson 8ff6e5688a
Pin black in workflow
New version of 'black' will most likely cause a lot of merge conflicts, thus let's pin the version for now until the Pretense generator is merged...
2024-01-28 17:39:47 +01:00

31 lines
601 B
YAML

name: Python lint
on: workflow_call
jobs:
black:
name: Black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: psf/black@stable
with:
src: "."
options: "--check"
version: "23.9.1"
mypy:
name: Type checking
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python environment
uses: ./.github/actions/setup-liberation-python
- name: mypy
uses: ./.github/actions/mypy