1
1
Fork 0

renamed the jobs
All checks were successful
Lint Code / Ruff (push) Successful in 7s
Lint Code / MyPy (push) Successful in 9s
Lint Code / Pylint (push) Successful in 9s

This commit is contained in:
Seaswimmer 2024-05-08 12:52:45 -04:00
parent aa4dbe07fd
commit 3640c321b7
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -1,11 +1,9 @@
name: Actions name: Lint Code
on: on:
push: push:
branches:
- 'master'
jobs: jobs:
Lint Code (Ruff): Ruff:
runs-on: docker runs-on: docker
container: ghcr.io/catthehacker/ubuntu:act-latest container: ghcr.io/catthehacker/ubuntu:act-latest
steps: steps:
@ -15,11 +13,11 @@ jobs:
- name: Install Ruff - name: Install Ruff
run: pip install ruff run: pip install ruff
- name: Analysing code with Ruff - name: Analysing code
run: ruff check $(git ls-files '*.py') run: ruff check $(git ls-files '*.py')
continue-on-error: true continue-on-error: true
Lint Code (MyPy): MyPy:
runs-on: docker runs-on: docker
container: ghcr.io/catthehacker/ubuntu:act-latest container: ghcr.io/catthehacker/ubuntu:act-latest
steps: steps:
@ -29,11 +27,11 @@ jobs:
- name: Install MyPy - name: Install MyPy
run: pip install mypy run: pip install mypy
- name: Analysing code with MyPy - name: Analysing code
run: mypy $(git ls-files '*.py') run: mypy $(git ls-files '*.py')
continue-on-error: true continue-on-error: true
Lint Code (Pylint): Pylint:
runs-on: docker runs-on: docker
container: ghcr.io/catthehacker/ubuntu:act-latest container: ghcr.io/catthehacker/ubuntu:act-latest
steps: steps:
@ -43,6 +41,6 @@ jobs:
- name: Install Pylint - name: Install Pylint
run: pip install pylint run: pip install pylint
- name: Analysing code with Pylint - name: Analysing code
run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py') run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')
continue-on-error: true continue-on-error: true