1
1
Fork 0
PythonLearning/.gitea/workflows/lint.yaml
SeaswimmerTheFsh a3e28ecd83
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 38s
Update .gitea/workflows/lint.yaml
2024-04-29 23:03:52 +00:00

23 lines
No EOL
557 B
YAML

name: Actions
on:
push:
branches:
- 'master'
jobs:
Lint Code (Ruff & Pylint):
runs-on: docker
container: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Ruff and Pylint
run: pip install ruff pylint
- name: Analysing code with Ruff
run: ruff check $(git ls-files '*.py')
continue-on-error: true
- name: Analysing code with Pylint
run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')