diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index fd10cba..e02b849 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -1,11 +1,9 @@ -name: Actions +name: Lint Code on: push: - branches: - - 'master' jobs: - Lint Code (Ruff): + Ruff: runs-on: docker container: ghcr.io/catthehacker/ubuntu:act-latest steps: @@ -15,11 +13,11 @@ jobs: - name: Install Ruff run: pip install ruff - - name: Analysing code with Ruff + - name: Analysing code run: ruff check $(git ls-files '*.py') continue-on-error: true - Lint Code (MyPy): + MyPy: runs-on: docker container: ghcr.io/catthehacker/ubuntu:act-latest steps: @@ -29,11 +27,11 @@ jobs: - name: Install MyPy run: pip install mypy - - name: Analysing code with MyPy + - name: Analysing code run: mypy $(git ls-files '*.py') continue-on-error: true - Lint Code (Pylint): + Pylint: runs-on: docker container: ghcr.io/catthehacker/ubuntu:act-latest steps: @@ -43,6 +41,6 @@ jobs: - name: 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') continue-on-error: true