SeaswimmerTheFsh
a3e28ecd83
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 38s
23 lines
No EOL
557 B
YAML
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') |