Files
z-bar-qt/.gitea/workflows/lint-python.yml
T

28 lines
589 B
YAML

name: Lint (Python)
on:
pull_request:
jobs:
lint:
runs-on: alpine
container: node:20-alpine
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tools
run: |
apk add --no-cache \
git \
python3 \
py3-pip
- name: Ruff
run: |
python3 -m venv .venv
. .venv/bin/activate
pip install --no-cache-dir ruff
ruff check .