IndiumRevolt/.forgejo/workflows/workflow.yml
cswimr 8d3363574a
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 10s
chore(repo): update to UV
2024-11-12 12:55:13 -05:00

26 lines
623 B
YAML

name: Actions
on:
push:
pull_request:
jobs:
lint:
name: Lint Code (Ruff & Pylint)
runs-on: docker
container: www.coastalcommits.com/cswimr/actions:uv
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install python
run: uv python install 3.11
- name: Install dependencies
run: uv sync
- name: Analysing code with Ruff
run: uv run ruff check $(git ls-files '*.py')
continue-on-error: true
- name: Analysing code with Pylint
run: uv run pylint --rcfile=.forgejo/workflows/config/.pylintrc $(git ls-files '*.py')