pre-commit: introduce make lint
Also make the linters part of the github actions.
This commit is contained in:
parent
734c132500
commit
c408577b2d
11 changed files with 157 additions and 0 deletions
12
.github/workflows/pytest.yaml
vendored
12
.github/workflows/pytest.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue