feat: add linter to ci workflow
This commit is contained in:
@@ -14,12 +14,8 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install and run Ruff (Lint & Format Check)
|
- name: Lint & Format Check python code with ruff
|
||||||
run: |
|
uses: astral-sh/ruff-action@v3
|
||||||
python3 -m venv venv
|
|
||||||
source venv/bin/activate
|
|
||||||
ruff check .
|
|
||||||
ruff format --check .
|
|
||||||
|
|
||||||
- name: Lint Dockerfile (Hadolint)
|
- name: Lint Dockerfile (Hadolint)
|
||||||
uses: hadolint/hadolint-action@v3.1.0
|
uses: hadolint/hadolint-action@v3.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user