From 3640c321b7f996fbf3237f8dfb2f645ac67506d3 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 12:52:45 -0400 Subject: [PATCH] renamed the jobs --- .gitea/workflows/lint.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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