renamed the jobs
This commit is contained in:
parent
aa4dbe07fd
commit
3640c321b7
1 changed files with 7 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue