TISbackup/.gitea/workflows/lint.yml
k3nny aa8a68aa80
Some checks failed
lint / docker (push) Failing after 4m47s
EOF & whitespace
2024-11-29 00:54:31 +01:00

25 lines
506 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 .
# - uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: 'style fixes by ruff'