push-status-to-discord-action/.forgejo/workflows/ci.yml

25 lines
608 B
YAML
Raw Permalink Normal View History

---
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