From 504a9b77691ca7702594f08a2d32946ff6e36c97 Mon Sep 17 00:00:00 2001 From: Basyrov Rustam Date: Thu, 5 Jun 2025 23:14:59 +0300 Subject: [PATCH] change steps order --- .github/workflows/ci.yml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2612c31..4d63a14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,20 +17,7 @@ jobs: uses: actions/checkout@v4 with: 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 uses: actions/setup-python@v4 with: @@ -54,5 +41,19 @@ jobs: Repository: ${{ github.repository }} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} - - name: Check fail - run: echo "Unreachable" + - 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 +