TISbackup/.gitea/workflows/lint.yml
k3nny c5a1ac0551
Some checks failed
lint / docker (push) Failing after 5m14s
test ci - lint ruff
2024-11-28 20:58:27 +01:00

26 lines
526 B
YAML

name: lint
on:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'pip' # caching pip dependencies
- run: pip install ruff
- run: |
ruff check .
ruff fix .
# - uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: 'style fixes by ruff'