blob: 6855dc630a5d50cd0abe3ceba96214a08a717533 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
name: Lint (Ruff, MyPy)
on:
push:
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: apt-get update
run: sudo apt-get update
- name: Install dependencies
run: |
sudo apt-get install build-essential libpoppler-cpp-dev pkg-config python3-dev -y
pip install -r requirements/dev_requirements.txt
- name: Run pre-commit
run: pre-commit run --all-files
|