25 lines
608 B
YAML
25 lines
608 B
YAML
|
---
|
||
|
on: [push] # yamllint disable-line rule:truthy
|
||
|
|
||
|
jobs:
|
||
|
static-analysis:
|
||
|
name: Static analysis
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- name: Yaml formatting
|
||
|
run: pipx run yamllint .
|
||
|
- name: Python formatting
|
||
|
run: pipx run black . --check
|
||
|
dynamic-analysis:
|
||
|
name: Dynamic analysis
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
pip install -r ./requirements.txt
|
||
|
pip install pylint
|
||
|
- name: Python linting
|
||
|
run: pylint **/*.py
|