push-status-to-discord-action/.forgejo/workflows/ci.yml
Marc Cataford 908bfa306a
Some checks failed
/ Static analysis (push) Failing after 10s
/ Dynamic analysis (push) Failing after 3s
ci: add static+dynamic analysis steps on push
fix: yaml linting

fix: python linting

fix: python formatting
2024-07-27 15:46:04 -04:00

24 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