pre-commit: introduce make lint

Also make the linters part of the github actions.
This commit is contained in:
Florian Schüller 2024-12-20 18:36:31 +01:00 committed by Florian Schüller
parent 734c132500
commit c408577b2d
11 changed files with 157 additions and 0 deletions

View file

@ -9,6 +9,18 @@ on: # yamllint disable-line rule:truthy
types: ["checks_requested"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install yamllint
run: sudo apt-get install -y yamllint aspell
- name: "Clone Repository"
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Run linters
run: make lint
build:
runs-on: ubuntu-latest
uses: ./.github/workflows/testdeps.yaml