change steps order
All checks were successful
CI-pipeline / linters (push) Successful in 35s

This commit is contained in:
Basyrov Rustam
2025-06-05 23:14:59 +03:00
parent 72fa1d1439
commit 504a9b7769

View File

@@ -17,20 +17,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: dev ref: dev
- name: Lint the Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
- name: Lint the source code
uses: Silleellie/pylint-github-action@v2.1
with:
lint-path: |
mysite
polls
manage.py
requirements-path: requirements.txt
readme-path: README.md
python-version: 3.11 # python version which will lint the package
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
@@ -54,5 +41,19 @@ jobs:
Repository: ${{ github.repository }} Repository: ${{ github.repository }}
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
- name: Check fail - name: Lint the Dockerfile
run: echo "Unreachable" uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
- name: Lint the source code
uses: Silleellie/pylint-github-action@v2.1
with:
lint-path: |
mysite
polls
manage.py
requirements-path: requirements.txt
readme-path: README.md
python-version: 3.11 # python version which will lint the package