jinjaturtle/.forgejo/workflows/lint.yml
Miguel Jacq d7c71f6349
Some checks failed
CI / test (push) Failing after 45s
Lint / test (push) Successful in 26s
Trivy / test (push) Successful in 24s
Refactor and add much more robust tests (both automated and manual) to ensure loops and things work ok
2025-11-30 18:27:01 +11:00

27 lines
573 B
YAML

name: Lint
on:
push:
jobs:
test:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system dependencies
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
black pyflakes3 python3-bandit vulture
- name: Run linters
run: |
black --diff --check src/*
black --diff --check tests/*
pyflakes3 src/*
pyflakes3 tests/*
bandit -s B110 -r src/
vulture .